Hi,
How to insert doxygen comments or how to invoke doxygen comments. using code generation/refactoring-.Insert Doxygen Comment.
I came to know few things
1. It automatically adds doxygen params section param looking at functions & its arguments
2. It worked for few func & not all. And for few functions, it works few times and not always.
Can u give some example code and steps to use insert doxygen comments feature.
TIA
Regards
Gururaja
How tto insert doxygen comments
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How tto insert doxygen comments
To insert doxygen comment:
Place the caret on the function you want to insert comment
right click -> refactoring -> insert doxygen comment
Note: make sure that the file is saved before adding a comment, otherwise it might fail
In case it still fails:
right click on the file -> retag file
and try again.
It works for me 99% of the time, there are few rare cases which it fails, but I failed to identify the problem.
Eran
Place the caret on the function you want to insert comment
right click -> refactoring -> insert doxygen comment
Note: make sure that the file is saved before adding a comment, otherwise it might fail
In case it still fails:
right click on the file -> retag file
and try again.
It works for me 99% of the time, there are few rare cases which it fails, but I failed to identify the problem.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 113
- Joined: Fri Jul 11, 2008 9:12 am
- Contact:
Re: How tto insert doxygen comments
Should the file be a part of the project. Does CL support Inserting Doxygen Comments for any non-worspace/non-project files.
I couldnt insert for non-worspace/non-project files.
Can u give more info for below cases
Regards
Gururaja
I couldnt insert for non-worspace/non-project files.
caret means start of line. correct me if i am wrongeranif wrote:To insert doxygen comment:
Place the caret on the function you want to insert comment
right click -> refactoring -> insert doxygen comment
Can u give more info for below cases
Code: Select all
static int func1(void)
{
...
...
}
Code: Select all
static
int func1(void)
{
...
...
}
Re-tag option only available for project/workspaceeranif wrote: In case it still fails:
right click on the file -> retag file
its working for single file project & few in multi-file projects. not for all files. i am trying to find when its not happeningeranif wrote: It works for me 99% of the time, there are few rare cases which it fails, but I failed to identify the problem.
Eran
Regards
Gururaja
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How tto insert doxygen comments
Caret is the term for the little blinking vertical linehbr_in wrote:caret means start of line. correct me if i am wrong
from wikipedia:
The term caret is also sometimes used in graphical user interface terminology where it means a text insertion point indicator, frequently represented by a blinking vertical bar. In this context, it may be used interchangeably with the word cursor, although the latter term is often reserved for a mouse pointer.
Place the caret at 'func1' and select 'Refactoring -> insert doxygen comment'hbr_in wrote:static int func1(void)
{
...
...
}
ReTag is also available for file, right click *in the editor* and select 'Re-Tag fie'hbr_in wrote:Re-tag option only available for project/workspace
Eran
Make sure you have read the HOW TO POST thread