# Wrapping

> **TL;DR**
> `File | Settings | Editor | Code Style | SQL | <sql_dialect> | Wrapping` for Windows and Linux
>
>
>
> `CLion | Settings | Editor | Code Style | SQL | <sql_dialect> | Wrapping` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `⌘ Comma` (Xcode), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (ReSharper), `⌘ Comma` (ReSharper (macOS)), `Ctrl+Alt+S` (QtCreator), `⌘ Comma` (QtCreator (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![the Settings icon](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.settings.svg)
>
>
>
> As <sql_dialect>, select the SQL dialect on the [Code Style. SQL](settings-code-style-sql.html) page.

Configure what formatting to preserve when you reformat your code.

Use this page to configure  [code style](configuring-code-style.html) options for SQL files. When you change these settings, the Preview pane shows how this will affect your code.

| Item | Description |
| --- | --- |
| Line breaks | Preserve line breaks when you reformat your code. |
| Comment at first column | Do not align comment with a first column name.       * On ![Comment at first column: On](https://resources.jetbrains.com/help/img/idea/2026.2/sql_formatter_comment_at_first_column_on.png)    * Off ![Comment at first column: Off](https://resources.jetbrains.com/help/img/idea/2026.2/sql_formatter_comment_at_first_column_off.png)   |

## See also

### Procedures

[Code style](configuring-code-style.html)

