|
|
Re: Is there an "Add Comment" feature in CDT? [message #160688 is a reply to message #160489] |
Mon, 19 December 2005 15:54  |
Eclipse User |
|
|
|
Originally posted by: eclipse.dharty.com
As others have stated, there is not one that exists, but its pretty easy
to add basic ones.
For example, In Windows->Preferences->C/C++->Editor->Templates, I added
a new template I named "fn".
If I type in fn and then hit ctrl+space, the "fn" is replaced by the
following at the current cursor position:
/**
* @fn ${enclosing_method}
*
************************************************************ ******************/
You can also add other tags like @author, @param or @return.
Unfortunately, the values for most of these fields will have to be
manually inserted.
You could also name your template "/**" so that you could type /**
followed by ctrl+space to create the same effect.
D
HM wrote:
> Is there an "Add Comment" feature for C++ Editor similar to Java Editor
> to add Javadoc-like comments for use with doxygen?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03672 seconds