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.

Autoformat line width

Hi, 

How do I adjust the autoformat line width in CCS so that my lines will not be cut off?

Thanks. 

  • Hello Shiran,

    Goto Window->Preferences->C/C++->Code Style->Formatter

    In Preferences you need to select "Show advanced Stettings" to see C/C++ in Peferences.

    In Formatter, create a new format based off one of the existing formats. Select edit and then change the Maximum Line width in the Line Wrapping Tab page.

    If this answers your question, please select verify.

    Thanks,
    Stephen