Google Groups

Re: snippet for doxygen


pluskid Dec 1, 2008 6:23 AM
Posted in group: YASnippet Discussion Group
Hi, It works for me perfectly. Make sure you are using a some what new
version of Emacs and have font-lock enabled.

On Fri, Nov 28, 2008 at 3:59 AM, boissonnfive <boisso...@gmail.com> wrote:
>
> hi everbody!
>
> I try to write a snippet for doxygen:
>
> #name : /** ...
> */
> # --
> /**
>  * @brief ${description}
>  *
>  * @param ${nom} : ${definition}
>  * @return ${retour}
>  */
> $0
>
> That doesn't work. I mean, when i type in the fields (description for
> instance), the field is not overwritten, my writting is appended to
> the field (=> xxxxxxxdescription).
>
> I found a workaround:
> #name : /** ...
> */
> #
> --
> $0\/**
>  * @brief ${description}
>  *
>  * @param ${nom} : ${definition}
>  * @return ${retour}
>  */
> I have to delete the backslash at the end. It's not cool.
> Do you know why there is such a behaviour? (comment relative?)
>
> Thanks.
> Bruno.
> >
>



--
pluskid