Tool/software: Code Composer Studio
Before I press tab
after I press tab
This large size only happens in array, not elsewhere.
I cannot find this specific setting in the formatter window.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Before I press tab
after I press tab
This large size only happens in array, not elsewhere.
I cannot find this specific setting in the formatter window.
Looks like it is aligning on the opening {
For me as soon as I hit enter after the { it aligns under that:
The selection I have below puts the first { on the next line. But you can select same line.
"Next line indented" might be a good compromise:
If I get rid of the extra set of {} this then looks like this after the formatter runs or if I hit tab:
I have not had any luck with putting the opening { on the first line. As soon as I do that a tab on the next line will align with the { on the previous line.
John
Hi, I somehow fixed it.
At Line Warpping tab, there is a indentation policy below. I just set it to indent by one from indent on column.
I may ask that what are "Default indentation for warpped lines", "Default indentation for initializer lists" and "Never join already wrapped lines"?
I'm not good at English.