Code Style. SQL
File | Settings | Editor | Code Style | SQL for Windows and Linux
DataGrip | Settings | Editor | Code Style | SQL for macOS
CtrlAlt0S
In this page, select the SQL dialect that you want to configure code style settings for.

Read more about configuring the SQL style in Configure the SQL code style CtrlAlt0L.
For every SQL dialect, the following code style settings are available:
Item | Description |
---|---|
Change word casing options. | |
Configure code style for | |
Configure code style for | |
Configure code style for declared variables, routine arguments, routine statements, loops, and other structures. | |
Configure code style for corteges, binary expressions, the | |
Configure code style for indents, TAB and SPACE characters. | |
Configure what formatting to preserve when you reformat your code. | |
Configure behavior of code generation for indexes, primary and foreign keys. |
Thanks for your feedback!