Community
Participate
Working Groups
Created attachment 285789 [details] code style profile with disabled comment formatting Overview: Thanks to bug 540001 we can disable code formatting for comments. But indented block comments are changed anyways when comment formatting has been turned off. Steps to Reproduce: 1. Click Windows > Preferences > C/C++ > Code Style > Code Formatter. 2. Create a new profile based on K&R [built-in]. 3. Edit the profile so that comment formatting is disabled (see attachment codestyleprofile.png). 4. Confirm all dialogs to save and apply the new profile. 5. Create a new and empty C source file. 6. Insert an indented block comment. 7. Click Edit > Select All. 8. Click Source > Format. Actual Result: The first line of the block comment is no longer indented. (see attachment beforecodeformatting.png) Expected Results: The entire comment is not touched by the code formatter at all. (see attachment aftercodeformatting.png)
Created attachment 285790 [details] original block comment
Created attachment 285791 [details] altered block comment