Common options
| Item | Description | Level |
|---|---|---|
| Use | Click this drop-down list to choose the level of configuring the code style settings. The available options are:
|
|
| Export | Click this button to save the current scheme under the specified name in the config\codeStyles folder under the IntelliJ IDEA home directory. | Per project settings |
| Scheme name | From this drop-down list, select the desired scheme. | Global settings |
| Save as | Click this button to save the current global scheme with a new name. | Global settings |
| Delete | Click this button to delete the current scheme.
Tip The default scheme cannot be deleted. |
Global settings |
| Copy to Project | Click this button to create a copy of the current global scheme to the project level. After creating the copy, IntelliJ IDEA suggests to switch to this new scheme at the project level. | Global settings |
| Set From | This button is only available for language-specific code style settings.
Click this button to reveal the list of the languages code styles, and select one to copy style settings from. |
Global settings |
IntelliJ IDEA helps configure the following code styles:
- General
- Code Style. Java
- Code Style. ActionScript
- Code Style. CFML
- Code Style. CoffeeScript
- Code Style. CSS
- Code Style. Groovy
- Code Style. HTML
- Code Style. JavaScript
- Code Style. PHP
- Code Style. SQL
- Code Style. XML
- Code Style. Other
Note
The Preview section for each language immediately shows results when you change settings.


