# 大小写

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com.cn/help/idea/llms.txt).

> **TL;DR**
> `文件 | 设置 | 编辑器 | 代码样式 | SQL | <sql_dialect> | 大小写`  适用于 Windows 和 Linux
>
>
>
> `%instance% | 设置 | 编辑器 | 代码样式 | SQL | <sql_dialect> | 大小写`  适用于 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)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) !["设置"图标](https://resources.jetbrains.com.cn/help/img/idea/2026.3/app.expui.general.settings.svg)
>
>
>
> 作为   <sql_dialect>  ，请在 [代码样式。 SQL](settings-code-style-sql.html) 页面上选择 SQL 方言。

更改单词大小写选项。

使用此页面配置 SQL 文件的格式选项。 当您更改这些设置时，   预览   面板将显示这将如何影响您的代码。

|  条目  |  描述  |
| --- | --- |
|  单词大小写  |     切换关键词和标识符的字母大小写。 所选的字词大小写会自动应用。        * 转为大写 ：元素会被自动转换为大写。    * 转为小写 ：元素将自动转换为小写。    * 不要更改 ：元素的大小写保持原样。        使用原始大小写   复选框会在整个文件中应用声明中名称所使用的大小写。 有关原始情况的更多信息，请参考 [从声明中应用原始情况](configure-the-sql-code-style.html#apply-the-original-case-from-the-declaration)。     |
|  引用  |     将引号添加到标识符。        * 引用 ：标识符会被自动引用。    * Unquote ：标识符会自动取消引用。    * 不要更改 ：标识符保持原样。    |

## See also

### 过程

[代码样式方案](configuring-code-style.html)

