abrookins / WrapToColumn

An IntelliJ plugin that wraps text
Apache License 2.0
62 stars 12 forks source link

The ClassNotFoundException thing is going to happen again in 2021.3 #50

Closed shoaniki closed 2 years ago

shoaniki commented 3 years ago

Because versions > 1.4.0 are marked as only compatible up to 2021.2 :(

EAP beta exhibits the problem.

abrookins commented 3 years ago

Thank you, you're a life saver! I will attempt to release a fix this weekend.

abrookins commented 3 years ago

I'll need to download an EAP to test. I see that we use the intellij { version = ... } in build.gradle, which I thought only controlled which version of Intellij built the plugin, and not what versions it supported. (Maybe the build version is related to the max version the plugin supports, though...)

I'll try removing that version specifier, which causes the gradle build to use the latest EAP snapshot (https://github.com/JetBrains/gradle-intellij-plugin#intellij-platform-properties).

The only other version-related stuff is <idea-version since-build="141"/>, and I don't know what version that actually is but it sounds like a minimum bound. 🤔

abrookins commented 3 years ago

Trying some recommendations on this page: https://plugins.jetbrains.com/docs/intellij/plugin-compatibility.html?from=jetbrains.org#exploring-module-and-plugin-apis

abrookins commented 3 years ago

Are you able to test this version with your EAP?

WrapToColumn-1.8.0-SNAPSHOT.zip

hoelzl commented 2 years ago

I tried installing version 1.8.0-SNAPSHOT into PyCharm 2021.3 EAP and unfortunately the same error appears as for the previous snapshots: "Plugin is not compatible with the current version of the IDE, because it requires build 212.* or older but the current build is PY-213.5605.23"

abrookins commented 2 years ago

Ok, I just released 1.8.0 with what should be the fix for this. I've tested from a few different IDEs and versions, including the PyCharm EAP, and it seems to work!

Previous release:

image

New release:

image
shoaniki commented 2 years ago

Can confirm the update installed itself and is working perfectly in 2021.3 EAP, thank you!