'GoLand is stucking after installing plugin, displaying "Plugin to blame"

I installed some plugins for jsonnet format, after restarting the IDE, it stuck on the GoLand startup image.

I also opened the GoLand via terminal /Applications/GoLand.app/Contents/MacOS/goland and it shows some exceptions about having two plugins for a same file format:

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

Is there any way to disable the plugins without the GoLand itself ( like config files or arguments ) so I can get the IDE running again?



Solution 1:[1]

I solved the problem by disabling the plugin via config and the remove / re-enabling the proper plugin in the goland preferences itself, here are the steps:

  1. Found the plugin identifier from the error logs, for my case it was com.github.zzehring

  2. For disabling the plugin, there is a disabled_plugins.txt file on IDE config path ( if there is no file there, create it yourself ), put the plugin identifier from step 1 on a new line in this file. On macos it was located in /Users/%my_user%/Library/Application Support/JetBrains/GoLand2021.2/disabled_plugins.txt

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 meshkati