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.

CODECOMPOSER: Insert tab as indent

Part Number: CODECOMPOSER
Good afternoon.
When coding in the editor on Code Composer Studio, indentation is automatically inserted when a line break occurs.
I want to enter indents in tabs, but Code Composer Studio seems to insert indents in spaces.
I would like to know if there is a way to enter indentation in a tab.
Thank you in advance and best regards,
  • The setting for this is a bit buried

    At the bottom of the preferences dialog select show advanced settings

    Then expand C++ -> Code Style - Formatter

    Click the edit button beside the active profile and then change the tab policy from spaces only to tabs

    Regards,

    John

  • Thank you very much. I will confirm.

    By the way, I would like to check in my CCS environment and expand it to other workers.
    When I change this setting, what file in which folder will it be reflected?

  • One way to share settings is to export them and then other users can import them.

    If you go to File -> Export.  Under general you can choose to export preferences.  This one would be under code style.  Then other users can do the same but select File -> Import.