ignatov / intellij-erlang

Erlang IDE
https://www.jetbrains.com/help/idea/2018.2/getting-started-with-erlang.html
Other
735 stars 120 forks source link

Support for IntelliJ IDEA 2021.3 #963

Closed alvaropag closed 2 years ago

alvaropag commented 2 years ago

Please, add support for IntelliJ 2021.3!

KronicDeth commented 2 years ago

I use intellij-erlang as an optional dependency in my Elixir plugin. The first incompatibility I hit was IndentOptionsEditorBase not being found when trying to build with intellij-erlang:

com.intellij.diagnostic.PluginException: Cannot create class org.intellij.erlang.formatter.settings.ErlangLanguageCodeStyleSettingsProvider (classloader=PluginClassLoader(plugin=PluginDescriptor(name=Erlang, id=org.jetbrains.erlang, descriptorPath=plugin.xml, path=~/github/KronicDeth/intellij-elixir/build/idea-sandbox/plugins/intellij-erlang, version=0.11.1123, package=null, isBundled=false), packagePrefix=null, instanceId=45, state=active))
java.lang.IllegalAccessException: no such constructor: org.intellij.erlang.formatter.settings.ErlangLanguageCodeStyleSettingsProvider.<init>()void/newInvokeSpecial
java.lang.NoClassDefFoundError: com/intellij/application/options/IndentOptionsEditorBase
java.lang.ClassNotFoundException: com.intellij.application.options.IndentOptionsEditorBase PluginClassLoader(plugin=PluginDescriptor(name=Erlang, id=org.jetbrains.erlang, descriptorPath=plugin.xml, path=~/github/KronicDeth/intellij-elixir/build/idea-sandbox/plugins/intellij-erlang, version=0.11.1123, package=null, isBundled=false), packagePrefix=null, instanceId=45, state=active)
java.lang.AssertionError
Process 'command '/Users/kronic.deth/.gradle/caches/modules-2/files-2.1/com.jetbrains/jbre/jbr_jcef-11_0_13-osx-x64-b1751.19/extracted/jbr/Contents/Home/bin/java'' finished with non-zero exit value 255
adrianx77 commented 2 years ago

when I opened dialog of Settings and click the codestyle for Erlang,The window was locked ,and it was showing "loading" always.