nette-intellij / intellij-latte

Latte plugin for IntelliJ IDEA platform
MIT License
113 stars 22 forks source link

Plugin is not compatible with PhpStorm 2023.3 #207

Open aleszatloukal opened 12 months ago

aleszatloukal commented 12 months ago

After updating the IDE, the plugin appears to be incompatible and cannot be installed from the ZIP archive.

PhpStorm 2023.3 Latte 1.1.8

Snímek obrazovky 2023-12-07 v 11 06 53

MartinKantor commented 12 months ago

@aleszatloukal You can temporaly fix this by editing JAR file -> META-INF/plugin.xml line 2 to: <version>1.1.9</version> and line 15 to <idea-version since-build="221" until-build="233.*" />. JAR file is like a zip file so use for example 7-zip to open it and access files inside. After changes - save plugin.xml and jar files itself, Then install plugin from disk in PhpStorm and select edited jar file.

This is of course only quick fix. Use regular update(s) when available.

JStika commented 11 months ago

I did. Not works.

MartinKantor commented 11 months ago

Did you use version 1.1.8 (instrumented-intellij-latte-1.1.8.jar) of plugin to apply the changes? Did you save the changes including updating the JAR archive itself?

JStika commented 11 months ago

Yes, I used 1.1.8 v.

MartinKantor commented 11 months ago

Without more information I am unable to tell where the problem is. I tried importing the modified plugin now (in PhpStorm 2023.3.1) and it works for me. However, the mentioned procedure is still only a quick fix, not an actual update, and it cannot be ruled out that it will not work for some specific situations.

JStika commented 11 months ago

I did Latte-1.1.9.zip test it with attached

adamkral12 commented 9 months ago

Hi, I wanted to ask if there is any plan to release a fix for this incompatibility issue? From the workaround, it seems like it's just a configuration problem. Or is there something more to it? Maybe a question for @mesour