Indentation bug with javadoc-style comments
Answered
I'm sure this is more of an underlying issue, and not just with javadoc / doxygen comments.
Steps to reproduce:
1. Create a C source file or header file
2. Define a random function e.g. void print(char*);
3. Create doc comment above (type /** and hit enter)
4. All other tab indentations in the file will be one space wide rather than 4. When you remove the comment, the tabs go back to normal.
This issue also occurs even if there are no functions in the text file. It is “fixed” if you remove the single spaces that are inserted before each asterisk in the doc comment. This bug doesn't occur with doc comments that don't involve these spaces, such as `///`.
Please sign in to leave a comment.
Hello!
Sorry for the delay in response. The issue sounds like RSRP-496654, but it should be fixed starting with CLion 2024.3.
Please check what CLion version you use and update CLion if necessary.