问题描述
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的安装目录