KronicDeth / intellij-elixir

Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)
Other
1.83k stars 153 forks source link

Phase 2 Meta Issue - Build Environment Improvements #3616

Open joshuataylor opened 1 month ago

joshuataylor commented 1 month ago

Support IntelliJ Gradle 2.0.0

Benefits include a much nicer Developer Experience, easier way of testing both IntelliJ IDEA + RubyMine, faster builds, etc.

IntelliJ Platform Gradle Plugin (2.x) Migration

intellij-platform-plugin-template GitHub repository https://github.com/JetBrains/intellij-platform-gradle-plugin

intellij-platform-gradle-plugin 2.0.0 release notes

[my branch]()

Support 2024.2

With 2024.2 around the corner, this should be a priority to support.

Support for 2024.1.4 exists, with some weird issues with RubyMine and the SDK. You can grab this from the releases, it's not a tagged release due to the previous issue - I have been using it with IDEA and it's been fine.

It seems like 2024.2 contains quite some substantial updates, so we'll need to double check everything works as expected.

Incompatible Changes in IntelliJ Platform and Plugins API 2024.x

Incompatible Changes in IntelliJ Platform and Plugins API 2024.x

Verifying Plugin Compatibility

Docs

Update contributing and other documentation for the latest IntelliJ IDEA changes, tips for contributing, etc - if/as needed.

nulian commented 1 month ago

On intellij 2024.2 I used your gradl 2.0 branch upgraded java to 21 and set the latest plugin ide version. It seems to work the plugin with that version still need to work a bit longer with intellij 2024.2 and the plugin to see if there are any issues I havent seen yet.

And tnx for taking over maintenance of the plugin

joshuataylor commented 1 month ago

There have been a few deprecations, nothing too major, should have a release out in the next day or so.

nulian commented 1 month ago

Yeah only real error I have seen is this one. Tnx again for your work.

java.lang.Throwable: No decompiled source function with name (String.at)
    at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
    at org.elixir_lang.beam.psi.impl.ModuleImpl.setMirror(ModuleImpl.kt:103)
    at org.elixir_lang.beam.psi.impl.ModuleElementImpl.setMirror(ModuleElementImpl.java:55)