PhpStorm plugin not loading after launching from IDEA

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)

6 comments
Comment actions Permalink

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)

0
Comment actions Permalink

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) 

 

0
Comment actions Permalink

Yes, Gradle setup works, DevKit doesn't. Is there any way to fix the DevKit?

0
Comment actions Permalink

AFAIU it is broken only in IDEA 2021.2, so using earlier IDE version might help until bug linked above is fixed.

0
Comment actions Permalink

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

0

Please sign in to leave a comment.