Skip to content

1.解决 golang 中 grep console 插件不生效问题

日志多了以后不好找,idea 中的神奇 grep console 在 goland 竟然不好使了,

  1. ctrl+shift+a 找到 Registry

image-20240122103650425

2.找到go.run.processes.with.pty,改为 false

image-202401221037534951

之后关闭窗口即可

2.一条竖线

去掉编辑界面中右侧的一条竖线

按下 Ctrl+Shift+A

输入 show right margin

选择 off

image-20240410100628540

image-20240410100727963

3.unhandled err

现象,

image-20240410101836128

解决方式,

file---->setting,直接搜索

image-20240410102200842

4.调整内存

点击“Help” -> “Edit Custom VM Options”来编辑虚拟机参数。在打开的文件中,我们可以更改-Xmx参数来设置Goland能够使用的最大堆内存大小

image-20240516120254567