Goland

Goland - JB(JetBrains)出品...

Goland License

JetBrains Account

...

Activation Code

License Server

快捷键

Goland中一些常用的快捷键

快捷键 描述
- 查找和定位相关的快捷键
Ctrl+F 查找文本
Ctrl+Shift+F 全局查找
Ctrl+R 替换文本
Ctrl+G 显示当前光标所在行的行号
- 文件操作相关的快捷键
Ctrl + E 打开最近浏览过的文件
Ctrl + N 打开某个结构体所在的文件
command+X 删除光标所在整行
command+, 打开Preferences
Shift+command+O 打开搜索
... 更多待补充

关闭代码收缩

Code Folding

Imports

Sorting type

FAQ

Q1:Debugging programs compiled with go version go1.17.8 darwin/amd64 is not supported. Use go sdk for darwin/arm64.

macOS 下移除已经安装的 go, 重新下载 darwin/arm64 架构版本的安装

sudo rm -rf /usr/local/go
sudo rm -rf /etc/paths.d/go

Q2:goland Preparing workspace特别慢或者一致卡着

删除项目下的.idea目录,重新打开,会好一点,但是没有之前秒开的效果好了。
...还有其他更好的解决或者重置办法嘛?
删除以下goland的最近项目配置文件试试

$HOME/Library/Application Support/JetBrains/GoLand2021.3/options/recentProjects.xml

同时清除所有缓存/索引内容 File - Invalidate Caches ... - Selected All - Enter

重新打开项目,等待索引重建一次即可。

参考

posted @   taadis  阅读(387)  评论(0编辑  收藏  举报
扫码关注

扫码关注我

点击右上角即可分享
微信分享提示