IntelliJ IDEA 2017.1 Help

Code Style Schemes

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

IntelliJ IDEA | Preferences | Code Style - Manage for macOS
Ctrl+Alt+S /help/img/idea/2017.1/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, IntelliJ IDEA suggests to switch to this scheme.
ImportClick this button to import IntelliJ IDEA XML code style settings, or JSCS config file.
ExportClick this button to export to IntelliJ IDEA 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: 18 July 2017