CLion 2020.2 Help

Predefined code styles

For C/C++, Objective-C/C++ and JavaScript, you can copy code style settings from the predefined styles. Note that each predefined style affects only certain base settings and leaves the rest unchanged.

  1. In the Settings/Preferences dialog Ctrl+Alt+S, click Code Style, and then select the language.

  2. Click the Set from link in the upper-right corner and select Predefined style from the list.

  3. Choose the code style to copy the settings from:

    Using code style settings from predefined guidelines

Last modified: 05 October 2020