Tabs and Indents
|Use tab character||If this check box is selected, tab characters are used:
Otherwise, spaces are used instead of tabs.
|Smart tabs||If this check box is selected, IntelliJ IDEA inserts tabs for indentation and reformatting,
but fine alignment to a necessary column is done
via spaces. This is done in order to preserve visual
representation of the source code, when the
If this check box is not selected, then spaces are used for alignment if necessary.
This check box is available if the Use Tab Character check box is selected.
|Tab size||In this text box, specify the number of spaces included in a tab.|
|Indent||In this text box, specify the number of spaces (or tabs if the Use Tab Character check box is selected) to be inserted for each indent level.|
|Indent subdefinitions / indent subclauses||Select these check boxes to add indentation to elements.|
Use this tab to specify certain formatting behaviors in your code. The results are displayed in the Preview pane.
|Word Case||In this node, specify whether the keywords, identifiers, or quoted identifiers case should change automatically.
Click the right-hand column, and check the desired behavior on the menu to turn it on.
The possible options are:
|Identifier quotations||Click the right-hand column, and check the desired behavior on the menu to turn it on.
The possible options are:
|New line before/after||Use these nodes to define how many blank lines you want IntelliJ IDEA to retain and insert in your code after reformatting. For each type of SQL element, select of clear the check box to the right. The results are highlighted in the Preview pane.|
|Wrap inside||Use this node to define wrapping style for the lengthy elements. The possible options are:
|Alignment||Select the check boxes next to the desired elements of source code to have them automatically aligned.|
Use this tab to specify where you want spaces in your code. To have IntelliJ IDEA automatically insert a space at a location, select the check box next to this location in the list. The results are displayed in the Preview pane.
On this page, specify the elements to be kept intact after code reformatting.
|Comment at first column||If this check box is selected, the comment position at the beginning of a line of code will be preserved.|
Click this link to reveal the list of languages to be used as the base for the current language code style. So doing, only the settings that are applicable to the current language are taken. All the other settings are not affected.
This link appears in the upper-right corner of the language-specific code style page, when applicable.
Click Reset to discard changes and return to the initial set of code style settings.