# 布局

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

> **TL;DR**
> `窗口 | 布局`

IntelliJ IDEA 允许您 [移动工具窗口](manipulating-the-tool-windows.html#move-tool-windows)、 [更改其视图模式](viewing-modes.html)、 [调整其大小](manipulating-the-tool-windows.html#resize-tool-windows)并将这些设置保存为布局。 您可以拥有多个工具窗口布局，并在需要时在它们之间切换。

当您开始使用该 IDE 时，会有一个带有出厂设置的现有   默认  布局。 您无法自定义此布局选项。 这是将工作区恢复到默认外观的快捷方式。

![文本光标定位在 布局 下的 Default](https://resources.jetbrains.com/help/img/idea/2026.3/default-layout.png)

Procedure: 创建自定义布局

一旦您 [移动](manipulating-the-tool-windows.html#move-tool-windows)、 [调整大小](manipulating-the-tool-windows.html#resize-tool-windows)工具窗口或 [更改它们的视图模式](viewing-modes.html)，您可以更新当前使用的设置或将这些更改保存为新的布局。

1. 在主菜单中，前往  `窗口 | 布局` 并选择   将当前布局另存为新布局  。

2. 为新布局命名并点击   保存  。

![将当前布局另存为新布局](https://resources.jetbrains.com/help/img/idea/2026.3/create-new-layout.png)

Procedure: 更改现有布局

如果您已经有一个自定义布局，并且对其进行了修改，您可以将更改保存到这个现有布局中。 或者，您可以将此排列保存为新的布局。

* 在主菜单中，前往  `窗口 | 布局` 并选择   保存当前布局中的更改  。

Procedure: 切换布局

* 在主菜单中，转到  `窗口 | 布局` ，指向所需的布局并选择   应用  。

您当前选择的布局已用选中标记。

![切换到其他布局](https://resources.jetbrains.com/help/img/idea/2026.3/ij-switch-layouts.png)

* 使用快速切换器：按 `Ctrl+`` (Windows), `⌃ `` (macOS), `⌃ `` (IntelliJ IDEA Classic (macOS)), `⌃ `` (macOS System Shortcuts), `Ctrl+`` (XWin), `Ctrl+`` (GNOME), `Ctrl+`` (KDE), `Ctrl+`` (Emacs), `Ctrl+`` (Sublime Text), `⌃ `` (Sublime Text (macOS)), `Ctrl+`` (Visual Studio), `Ctrl+`` (Visual Studio (macOS)), `Ctrl+`` (NetBeans), `Ctrl+`` (Eclipse), `⌃ `` (Eclipse (macOS))（  `查看 | 快速切换方案` ），点击   布局  ，然后选择您要应用的布局名称。

Procedure: 恢复工具窗口的排列

* 要恢复   默认   布局，请在主菜单中转到  `窗口 | 布局 | 默认`  或按 `Shift+F12` (Windows), `⇧ F12` (macOS), `⇧ F12` (IntelliJ IDEA Classic (macOS)), `⇧ F12` (macOS System Shortcuts), `Shift+F12` (XWin), `Shift+F12` (GNOME), `Alt+Shift+F12` (KDE), `Shift+F12` (Emacs), `Shift+F12` (Sublime Text), `Shift+F12` (Sublime Text (macOS)), `Shift+F12` (Visual Studio), `Shift+F12` (Visual Studio (macOS)), `Shift+F12` (NetBeans), `Shift+F12` (Eclipse), `⇧ F12` (Eclipse (macOS))。

Procedure: 编辑布局

* 在主菜单中，转到  `窗口 | 布局` ，指向所需的布局并选择   重命名   或   删除  。

您无法删除当前布局，也无法编辑或删除   默认  布局。

