Search code examples
emacsyasnippet

generate comments for function by emacs


The function :

function show($string = "hi") {
    echo $string;
}

I need the comments like:

/**
* @brief 
* 
* @param $string
*
* @returns
*/

function show($string = "hi") {
    echo $string;
}

Can I generate comments like this by yasnippet?

In vim, doxygentoolkit can do it.

Whitch tool i can use in emacs?


Solution

  • Use Doxymacs. It hasn't been updated in a while, but still works for me.