PhpStorm plugin not loading after launching from IDEA Follow
Answered
I have been developing a plugin for PhpStorm for a long time, everything worked. But after a while, I try to run it through IDEA, but it won't load or show up in the plugins list.
I tried to create a test empty plugin and the situation is the same with it.
PhpStorm 2021.2.1, IDEA 2021.2.1 (Community Edition)
Upload id: 2021_09_01_SWarWKV3xPmC9oKy (file: idea.log)
Please sign in to leave a comment.
The log file shared shows startup from PhpStorm sandbox instance, not IntelliJ IDEA? Please make sure you're using latest gradle-intellij-plugin version (1.1.4)
I am using Run/Debug button in IDEA to run PhpStorm plugin
Upload ID: 2021_09_02_7nw5U6PaDb632pPJ (file: 2021-09-02_12-11-44.png)
This might be https://youtrack.jetbrains.com/issue/IDEA-276310. In general, we do recommend to use Gradle setup now https://plugins.jetbrains.com/docs/intellij/gradle-prerequisites.html#adding-gradle-support-to-an-existing-devkit-based-intellij-platform-plugin
Yes, Gradle setup works, DevKit doesn't. Is there any way to fix the DevKit?
AFAIU it is broken only in IDEA 2021.2, so using earlier IDE version might help until bug linked above is fixed.
Gradle setup installs plugin into lib directory, DevKit into classes.
Just creating an empty lib folder is enough for everything to work. For example, C:\Users\OlegSt\AppData\Local\JetBrains\IdeaIC2021.2\plugins-sandbox\plugins\TestPlugin\lib