DEV Community

Discussion on: Creating a Theme for PHPStorm / IntelliJ IDEA

Collapse
 
ingosteinke profile image
Ingo Steinke, web developer

I released a new version, Cute Pink Light Theme 0.3.0, which is compatible with IntelliJ IDEA 2022.1, PhpStorm 2022.1 etc. The new release passed the compatibility check for 2022.1 and older versions. It should be available in the plugin store soon.

After struggling with updates and incompatibilities, even after upgrading to the latest gradle plugin and using a fresh IntelliJ Ultimate IDEA evaluation without time limit and browsing YouTrack issues for much too long, I finally had to use the command line to skip a failing subtask that turned out to be optional for my theme build.

So I suspect that I might not even need IntelliJ to build a theme at all, as the gradle wrapper tool can be used on the command line without getting lost in the multitude of IDE options. After the initial (Java?) build, the "run plugin verification" that does a Kotlin build, could be invoked by a one liner:

./gradlew buildPlugin --exclude-task buildSearchableOptions

You can find the updated theme on GitHub and in JetBrains' official plugin marketplace.

Collapse
 
ingosteinke profile image
Ingo Steinke, web developer

The "IDE error" can be safely ignored, as the theme works as expected.

I was only able to (re)build the theme using a workaround against the build error youtrack.jetbrains.com/issue/IDEA-... which is marked as fixed in YouTrack, but I still have the same problems even after upgrading to the latest IntelliJ IDEA 2022.1.3 (Ultimate Edition) Build #IU-221.5921.22, built on June 21, 2022 with an active purchased licensed.

I am still waiting for a solution how to make the plugin build again without errors or workarounds? Is there an updated plugin template that we must migrate to? If anyone has had a similar experience, please share a link to helpful documentation!

Collapse
 
ingosteinke profile image
Ingo Steinke, web developer

Thanks to JetBrains support, I managed to get rid of all the obsolete stuff from JetBrains plugin template, that are not needed for theme plugins. The new minimal version is very small, error-free, and compatible with the upcoming 2022.2 IDEA versions already. I am so delighted!
plugins.jetbrains.com/plugin/16721...

Thread Thread
 
ingosteinke profile image
Ingo Steinke, web developer • Edited

PhpStorm 2022.2 has been released and my plugin is still compatible! Thanks again to JetBrains support helping me to clean up my code. Want to help adding missing colors and a dark mode? Why not contribute on GitHub? openmindculture/intellij-cute-pink...