CLion 2016.3 Help

Code Style Schemes

File | Settings | Code Style - Manage for Windows and Linux

CLion | Preferences | Code Style - Manage for OS X
Ctrl+Alt+S /help/img/idea/2016.3/settings.png

Use this dialog box to manage the set of code style schemes.

Save As...Click this button to create a copy of the currently selected scheme. This new scheme can be used for copying a scheme to project, and for export.
DeleteClick this button to remove the currently selected scheme. Note that the predefined schemes cannot be deleted.
Copy to ProjectClick this button to copy the settings of the currently selected scheme to project. When the settings are copied, CLion suggests to switch to this scheme.
ImportClick this button to import CLion XML code style settings, or JSCS config file.
ExportClick this button to export to CLion XML code style settings file. The resulting XML file is exported to the specified location and has the specified name.

This XML file is used by the Command Line Formatter.

CloseClick this button to close the Code Style Schemes dialog box.

Note that any changes to the set of schemes (creating copies, or deleting unnecessary schemes) only take place on clicking Apply or OK buttons in the Settings/Preferences dialog.

See Also

Last modified: 29 March 2017