A bit of context: I just decided to increase the max supported version of my plugin, which used to build fine in the past (however the json issue listed in plugin verification was never solved). I’m not able to build/verify the plugin at all now (see point 3 below).
All in all the flow is pretty frustrating. It is expected to encounter issues with major updates, but as can be seen below, the problems are mostly systematic: version/dependency hell, fragile/bloated build system causing useless error messages..
Developing IDE plugins is incredibly painful, mainly due to the following points:
- IDE versioning is still very confusing and problematic. I cannot effectively build, run or verify a plugin just by providing “simple” versions like “2025.1” or “251”. I need to search - most of the time arbitrarily - for a build version that satisfies all requirements. For example, I ended up picking a version from here, despite that the json module is supposed to be bundled. (Figure 1)
- Defining requirements/dependencies is confusing… official comments say that the version is not required, but without it it won’t build. (Figure 2)
- Gradle always acts up, and the IDE provides 0 useful information. (Figure 3)
Right now I’m still blocked by point 3, which I’m totally clueless about.
Steps to reproduce
- open the project at GitHub - uuf6429/jetbrains-php-version-switcher: PHP Version Switcher Plugin for PhpStorm/IDEA
- Try getting it to verify
Environment
IntelliJ IDEA 2025.1 (Ultimate Edition)
Build #IU-251.23774.435, built on April 14, 2025
Windows 11.0