Configuring the SQL code style
Change code style settings
Customize formatting rules for the SQL code: alignment, wrapping, and indentation.
Click .
Select all the necessary code style settings on the available tabs.
Click Apply.

Create a code style for a dialect
Open .
Click the Gear icon (
), and select Duplicate.Type a name for a new style, and press Enter.
Select all the necessary code style settings, and click Apply.

Configure code styles per data source
After you created a style for a dialect, you can apply this style to the data source that uses this dialect.
Right-click a data source and select Properties.
Click the Options tab.
In the Code style drop-down menu, select a style that you want to apply.
Click Apply.

Apply the SQL style to a file from the context menu
You can format files from the context menu without opening them.
In the Files tool window (), right-click a directory and select Reformat Code.
