GoLand 在安装插件后卡住,显示“插件惹祸”

mes*_*ati 2 jetbrains-ide goland

我安装了一些jsonnet格式化插件,重新启动IDE后,它卡在GoLand启动映像上。

我还通过终端打开了 GoLand /Applications/GoLand.app/Contents/MacOS/goland,它显示了关于具有相同文件格式的两个插件的一些例外情况:

Caused by: com.intellij.diagnostic.ImplementationConflictException: Language with ID 'Jsonnet' is already registered: class com.jsonnetplugin.JsonnetLanguage
.
.
.
ERROR - llij.ide.plugins.PluginManager - Plugin to blame: Jsonnet Language Server version: 0.0.5
Run Code Online (Sandbox Code Playgroud)

有没有办法在没有 GoLand 本身的情况下禁用插件(例如配置文件或参数),以便我可以让 IDE 再次运行?

mes*_*ati 5

我通过配置禁用插件并在 goland 首选项本身中删除/重新启用正确的插件解决了问题,步骤如下:

  1. 从错误日志中找到插件标识符,对于我的情况是com.github.zzehring

  2. 为了禁用插件,IDE 配置路径disabled_plugins.txt上有一个文件(如果那里没有文件,请自行创建),将步骤 1 中的插件标识符放在该文件的新行中。在 Macos 上它位于/Users/%my_user%/Library/Application Support/JetBrains/GoLand2021.2/disabled_plugins.txt