anb0s / eclox

Eclox is a simple doxygen frontend plug-in for eclipse. It aims to provide a slim and sleek integration of the code documentation process into Eclipse.
http://anb0s.github.io/eclox
Eclipse Public License 2.0
34 stars 2 forks source link

Add support for C/C++ header files #185

Closed aarian93p closed 7 years ago

aarian93p commented 7 years ago

The Eclox doesn't recognizes the doxygen comments in the header files (.h) while the doxygen supports and parses them. I think it would be nice if you add a say checkbox in the doxygen page in the preferences which allows us to enable the eclox for headers or something like that.

Corderbollie commented 7 years ago

Maybe you forgot to select doxygen to be the default documentation tool for C/C++ Editors? Have a look into 'Window > Preferences > C/C++ > Editor > Documentation tool comments' an set the Workspace default to 'Doxygen'

anb0s commented 7 years ago

@aarian93p does the hint from @Corderbollie helps you?

aarian93p commented 7 years ago

Hi

Unfortunately not!

On Apr 13, 2017 3:08 PM, "Andre Bossert" notifications@github.com wrote:

@aarian93p https://github.com/aarian93p does the hint from @Corderbollie https://github.com/Corderbollie helps you?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/anb0s/eclox/issues/185#issuecomment-293854487, or mute the thread https://github.com/notifications/unsubscribe-auth/ASBiC1TGV_0c0YjNPdZVdZ2VU4JHL0F2ks5rvfswgaJpZM4MPX1E .

anb0s commented 7 years ago

The Eclox doesn't recognizes the doxygen comments in the header files (.h)

I do not understand how eclox should help with header files or cpp files? Eclox has support for the features (only):

Eclox has no support for writing comments (content assists etc.) in source files. The only setting i know comes from CDT and it supports all C/C++ file types (h, c, cpp): one has to enable it for the workspace or the project (like @Corderbollie described). Then you have some simple generation of the comment block -> just remove the comments from your function / method etc. and then type '/**' + ENTER. Then it generates something like this:

/**
 *
 * @param ...
 * @return
 */

I works for header files too in my Eclipse Neon + CDT 9.2...

anb0s commented 7 years ago

see #2