# 代码样式。 Properties

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

> **TL;DR**
> `文件｜设置｜编辑器｜代码样式｜属性`  适用于 Windows 和 Linux
>
>
>
> `%instance% | 设置 | 编辑器 | 代码样式 | 属性`  适用于 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)

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

## 控制

|  条目  |  描述  |
| --- | --- |
|  按列对齐属性  |  选择此复选框以对齐属性及其值。  |
|  在密钥-值分隔符两侧插入 Space  |  选择此复选框，以在键值分隔符周围插入空白符号。  |
|  密钥-值分隔符  |  从下拉列表中选择所需的键-值分隔符。  |
|  保留空行  |  选择此复选框以保持空白行不变。  |

## See also

### 过程

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

