Developing plugins for phpstorm in intellij Follow
Answered
Hi
So i've managed to follow all the steps here and make a fully functioning plugin for intellij: https://www.jetbrains.org/intellij/sdk/docs/basics/getting_started.html
Now I'm trying to do the same thing for phpstorm. I've followed the steps below and setup the environment (I'm following option 1): https://www.jetbrains.org/intellij/sdk/docs/phpstorm/setting_up_environment.html
My main issue is that everytime I press the debug button another instance of intellij shows up. Since I'm developing for phpstorm now, what I need is an instance of phpstorm to show up. Am I missing something?
Thanks in advance
Please sign in to leave a comment.
My first thought is that your plugin project is still being built against the IntelliJ SDK. To target the PhpStorm product, you should create a PhpStorm SDK and then set that as the JRE for the run and debug targets.
That said, any plugin built against an IDEA SDK *should* run normally within PhpStorm (or any of the target-specific IDEs) without any changes, unless there is specific functionality that you are attempting to access that is not delivered in PhpStorm.
Brilliant, thank you!