[EXT_EP-11786] Auto format should not reflow comment text Created: 07/Jun/24 Updated: 07/Jun/24 |
|
Status: | Accepted |
Project: | Embedded Software & Tools |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Medium |
Reporter: | TI User | Assignee: | TI User |
Resolution: | Unresolved | Votes: | 0 |
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Product: | Code Composer Studio Theia |
Internal ID: | CCSNXT-1513 |
Forum URL: | https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1371734/codecomposer-theia-document-formatting-of-comments/5239009#5239009 |
Found In Release: | CCS_THEIA_1.4.0 |
Affected Platform/Device: | None |
Description |
When using auto format, it munges up comment blocks surrounded by OG comment delimiters. Document formatting is handled by the clangd extension. The behavior can be modified using a `.clang-format` file. You can create a `.clang-format` file in your home directory and use the options specified here: https://clang.llvm.org/docs/ClangFormatStyleOptions.html Adding this line to the file should fix the issue and comments wouldn't be formatted: ReflowComments: false |