Configure code style for CREATE, ALTER, views, constraints, and other DDL structures.
Place the opening parenthesis
Align or indent the opening parenthesis under the first keyword on the line. Select On the same line to keep the opening parenthesis on the line with the keyword.
Change the position of elements in parentheses.
Place the closing parenthesis
Change the position of the closing parenthesis.
Align types in a clause (for example,
Align DEFAULT constraints.
Align NULL and NOT NULL constraints.
Collapse when short
Join multiline short code sections. The length of a section that will be collapsed is determined automatically by RubyMine.
Wrap alter instructions
Move ALTER instructions to a new line.
Align alter instructions
Align all ALTER instructions. To use this option, set the Wrap alter instructions option to Do not change.
Move CONSTRAINT to a new line.
Move KEY and CHECK to a new line.
Move REFERENCES to a new line.
Wrap cascade and deferrability
Move CASCADE and DEFERRED constraints to a new line.
Add an indent before contents of the CREATE SCHEMA statement.
Minimum blank lines between declaration
Set the minimum number of blank lines between declarations. If you put less lines than declared in this option, additional lines are added automatically.
Maximum blank lines between declaration
Set the maximum number of blank lines between declarations. If you put more lines than declared in this option, additional lines are deleted automatically.
Move AS clause to a new line.
Wrap the beginning of the query
Move the beginning of a query to a new line.
Add an indent before a query. The Wrap the beginning of the query option must be enabled.
Wrap first option
Move the first option of the postfix expression to a new line.
Wrap next option
Move the second option of the postfix expression to a new line.
Add an indent before options of the postfix expression.
Align all options of the postfix expression.