问题描述

goland的终端无法输入内容
在这里插入图片描述

解决过程

感谢Sven Eberth的帮助
在这里插入图片描述

  • 打开的GoLand的日志(Help|Show Log in Exploer)

在这里插入图片描述
发现报了错误

could not initialize class com.pty4j.windows.winpty

然后继续搜索到了https://youtrack.jetbrains.com/issue/IDEA-175703
在这里插入图片描述

解决方法

  • 进入Goland的安装目录下/bin找到idea.properties文件,加上下面两行
idea.config.path=C:\hqmin\program\JetBrains\GoLand 2021.1.3\config
idea.system.path=C:\hqmin\program\JetBrains\GoLand 2021.1.3\system

说明:C:\hqmin\program\JetBrains\GoLand 2021.1.3是我Goland的安装目录

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐