custom plugin module does not appear while creating new project in WebStorm

 

I am developing a plugin for Jetbrains' WebStorm. I'm using Intellij IDEA as my ide for development. My problem is, when I debug my plugin from IDEA, it works as expected. I can see my custom module option on the menu when creating a new project. But when I build my plugin and upload the .jar in webstorm, I can't see that option on the menu. I also tried "remote debugging" in IDEA to WebStorm but failed to run.

I added this line to my plugin.xml for enabling my plugin for all platforms:

  <depends>com.intellij.modules.lang</depends>

Actually I know this works because if I try to run one of my plugin's action using shortcuts, it's working. But as i said my main problem is module option does not appear on the "new project" menu.

Any ideas or suggestions?

1
4 comments

@Dennis Ushakov thank's for your reply but why am I supposed to use a project generator? I thought using module builders is enough for my project.

0

Small IDEs don't use module types during project generation (they use default one, e.g. WebModuleType for WebStorm), so the module builder just won't be called

1

Oh, I see. Thank you for explanation.

0

Please sign in to leave a comment.