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.

CCSv4 source code re-organization

Hi,

does CCSv4 support code beautifying? This is to convert source code from different code writers to the same style. E.g. tap/space replacement, braces replacement ....

- Does an option exist to convert coded text in same style or even something like beautify scheme does exist?

TLCSID: 21

Thanks and best regards,

Thorsten

  • This is a bit of a broad question but the editor does support code refactoring, tab/space replacement and so forth. The editor in CCSv4 is the stock Eclipse editor. The information you need should be covered in the documentation for the editor.

    Thanks

    ki

  • To replace the tab character with spaces in CCS4: 

    1. Select Window-->Preferences... 
    2. In the dialog, expand C/C++ in the tree view on the left and select Editor
    3. On the right you should now see the C/C++ Editor Preferences with several Tabbed Windows
    4. In the Appearance tab, check the Insert space for tabs option

    Regards.