Auto-format comments: tab deletion [message #1714259] |
Wed, 11 November 2015 03:27  |
Eclipse User |
|
|
|
Hello everyone,
I have the following problem: I have a member + Doxygen comment that looks like this:
int foo; /**< Some Doxygen comment */
When I hit Ctrl+Shift+F to auto-format, all the space between the member and the comment gets deleted, no matter whether they are spaces or tabs. I went through all auto-format options but I couldn't find a way to make the auto-formatter stop from doing that. The following comment-style doesn't work either:
int foo; ///< Some Doxygen comment
I use Eclipse for C++ on Linux. Can Eclipse do this somehow? And if it can't: Is there an auto-formatter available that lets me configure this? It doesn't have to be an Eclipse plugin, i.e. I'd be willing to use a separate software for this. I know in JAVA Eclipse you can use "// @formatter:off" and "// @formatter:on" to define blocks the formatter has to leave alone, but in C++ it doesn't work.
Cheers
Alex
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08272 seconds