IntelliJ IDEA – Import plugin module from existing source

If you are trying to import module, which contains IntelliJ Platform Plugin, you would like to have it imported like plugin.

How to fix imported plugin module:

  1. Open Module settings
  2. Import module
  3. Apply changes
  4. Open .iml file for your module
  5. Look for <module type="JAVA_MODULE" version="4">
  6. Change it to <module type="PLUGIN_MODULE" version="4">

I was not able to find other solution how to fix this problem. But this one works. Now you are able to use Build -> Prepare plugin xyz for deployment and all other functionalities related to IntelliJ Platform Plugin development.

Aleš Laňar
Senior Engineer Software ve společnosti CA Technologies

One thought on “IntelliJ IDEA – Import plugin module from existing source

Leave a Reply

Your email address will not be published. Required fields are marked *