Hi Folks,
i have an uncritical but quite annoying problem using Code Composer Studio 12 (CCS 12.0.0.00009): I cant get CCS to use tabs instead of spaces before comments....
It should look like this:
STRUCT_NAME struct_variable_name = { 4, //Length "COM", //Command "?", //Command type };
Instead CCS makes this:
STRUCT_NAME struct_variable_name = { 4, //Length "COM", //Command "?", //Command type };
Ignoring that i dont find the option for the new line for the first element, CCS changes the tabs into spaces. I tried to google it and found some hints but it wont work! I set Preferences->C/C++ ->CodeStyle -> Formatter -> Indentation to "Tabs only" and "use tabs only for leading...". Also under Formatter-> Comments i disabled "preserve white spaces between code and line comments..." .
What am i missing? I see a lot of post and settings to "force space" but i want to “force tab". Even when there are only tabs like in the first code example it changes them to spaces.
Thanks for your help and best wishes
Tobias
PS.: I hope the inserted code preserves invisible characters.