varabyte / kobweb-intellij-plugin

An official IntelliJ IDE plugin to include Kobweb-specific enhancements and understanding to your project
Apache License 2.0
10 stars 2 forks source link

IJ Ultimate Incompatibilities #48

Closed bitspittle closed 2 weeks ago

bitspittle commented 1 month ago

Not sure why but the latest Ultimate EAP edition started barfing. Got an email from the marketplace today.

See also: https://github.com/varabyte/kobweb-intellij-plugin/actions/runs/9361767816/job/25769307761

Getting a bunch of NoSuchClassError errors like this:

Method com.varabyte.kobweb.intellij.colors.KobwebColorProviderKt.evaluateArguments(Collection $this$evaluateArguments, int argCount, Function1 evaluatedValueMapper) : Mapped[] references an unresolved class org.jetbrains.kotlin.analysis.api.components.KtConstantEvaluationMode. This can lead to NoSuchClassError exception at runtime.

Nxllpointer commented 1 month ago

Huh. Im guessing that the new versions of Intellij dont expose the analysis dependency anymore, so we might have to add it ourselves

Nxllpointer commented 1 month ago

Did you test if it actually throws a NoSuchClassError?

bitspittle commented 1 month ago

Super busy for Droidcon, just created the bug, will take a look next week. I don't know why only ultimate would break and not community, hoping it is a fluke on their side.

On Tue, Jun 4, 2024, 12:53 AM Nxllpointer @.***> wrote:

Did you test if it actually throws a NoSuchClassError?

— Reply to this email directly, view it on GitHub https://github.com/varabyte/kobweb-intellij-plugin/issues/48#issuecomment-2146851012, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKNONAXWJJXFBATZNE36W43ZFVXBNAVCNFSM6AAAAABIXZAEB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBWHA2TCMBRGI . You are receiving this because you were assigned.Message ID: @.***>

bitspittle commented 2 weeks ago

Hooray doing nothing wins the day.

Latest round of IJ verification updates shows that the issue has been fixed, so this was probably a goof on their side.