# 设置

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/go/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+Comma` (VSCode), `⌘ Comma` (VSCode (macOS)) !["设置"图标](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg)

请使用此对话框更改 GoLand 设置：包括 [全局](configuring-project-and-ide-settings.html) 和 [项目特定的](configure-project-settings.html)。

> **Note:**
> 设置标有 ![项目设置](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.projectConfigurable.svg) 图标的项目仅适用于当前项目。

请使用对话框左上角的 ![搜索按钮](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.searchWithHistory.svg) 搜索字段查找感兴趣的选项。 或者，您可以浏览搜索字段下方按层次排列的类别列表（设置组）来查看设置。

更改 IDE 设置后，点击   确定  以应用更改并关闭对话框，或点击   Apply  以保持对话框打开。 点击   取消   以放弃更改并关闭对话框。

## 更多设置参考

对于其他章节中记录的设置，请使用以下参考：

* [Go](go-configuration.html)：代码补全、重命名行为和其他 Go 选项。 对于子页面，请参阅 [GOROOT 和 GOPATH](configuring-goroot-and-gopath.html)、 [Go 模块](create-a-project-with-go-modules-integration.html)、 [构建标签](configuring-build-constraints-and-vendoring.html)、 [导入](creating-and-optimizing-imports.html)和 [格式设置函数](formatting-strings.html)。

* [版本控制](settings-version-control.html)：Git、GitHub、GitLab 和其他版本控制设置。

* [高级设置](advanced-settings.html)：其他 IDE 选项。

