GoLand 2025.2 Help

意图

使用此页面启用或禁用 intention actions

意图列表

该列表显示当前在 GoLand 中可用的所有 intention action。

intention action 按语言进行分组。 要启用某个 intention action,请选中其左侧的复选框。

工具栏与控件

项目

工具提示与快捷键

描述

全部展开

Ctrl+NumPad +

展开意图列表中的所有节点。

全部折叠

Ctrl+NumPad -

折叠意图列表中的所有节点。

查找

使用此字段在 intention action 列表中进行搜索。 在键入搜索字符串时,会显示与搜索模式匹配的 intention action。 按下 Enter 以完成搜索。 之前使用过的搜索模式会存储在搜索历史列表中。

清除

单击此按钮以清除搜索历史列表。

描述

此只读字段显示所选 intention action 的描述。

使用示例

该区域通过以下字段展示应用所选 intention action 的效果:

  • 之前 — 此只读字段显示应用所选 intention action 前的源代码示例。

  • 之后 — 此只读字段显示将所选 intention action 应用于上述源代码示例后的结果。

最后修改日期: 2025年 9月 26日