IntelliJ IDEA 2024.3 Help

Code Style. SQL

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 Ctrl+Alt+L.

For every SQL dialect, the following code style settings are available:

Item

Description

Case

Change word casing options.

Queries

Configure code style for INSERT, UPDATE, WITH, SELECT, FROM, and other query structures.

DDL

Configure code style for CREATE, ALTER, views, constraints, and other DDL structures.

Code

Configure code style for declared variables, routine arguments, routine statements, loops, and other structures.

Expressions

Configure code style for corteges, binary expressions, the CASE clause, and procedure calls.

Tabs and Indents

Configure code style for indents, TAB and SPACE characters.

Wrapping

Configure what formatting to preserve when you reformat your code.

Code Generation

Configure behavior of code generation for indexes, primary and foreign keys.

Last modified: 14 November 2024