CLion 2021.1 Help

Predefined code styles

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

  1. Go to Settings / Preferences | Editor | Code Style and select the language (C/C++, Objective-C/C++, or JavaScript).

  2. Click the Set from link in the upper-right corner.

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

    Using code style settings from predefined guidelines

Last modified: 29 June 2021