How to build Intellij ce with plugin

Answered

Hi,

I have a plugin which works with intellij ce. I follow the plugin deployment steps in the documentation, launch intellij ce and install the plugin jar from disk. I've also managed to build intellij community edition from source code and now I want to build intellij ce from source code, with my plugin already installed. I currently have my plugin project's root folder in the "/plugins" directory, however it doesn't work. The plugin.xml file is present, how do I make it so intellij ce will build with my plugin installed?

0
6 comments

In community/build/groovy/org/jetbrains/intellij/build/IdeaCommunityProperties.groovy add your plugin in line where it defines bundled plugins

productLayout.bundledPluginModules = BUNDLED_PLUGIN_MODULES

There are also plans to make this easier by defining "bundles" (Base IDE + set of plugins), please watch https://youtrack.jetbrains.com/issue/MP-2788

 

0
Avatar
Permanently deleted user

Awesome, this works. Thanks a lot

0
Avatar
Permanently deleted user

Hey, so I'm working with this again and trying to understand how it works exactly.

In the BaseIdeaProperties.groovy file (where BUNDLED_PLUGIN_MODULES list is defined) if I remove "intellij.ant", for example, from the bundled plugins list and rebuild the project, the ant plugin is still present. Is there something I'm missing with this?

0
Avatar
Permanently deleted user

Ok I think I get it now.

For anyone googling, I had to add the module as a dependency to intellij.idea.community.main module.

0

hello  i have a gradle plugin project  can you tell me how add it to intellij.idea.community.main module?

0

j314815101 This is not possible. You'll need to start with IJ Community project and add your plugin there. See also https://youtrack.jetbrains.com/issue/IJSDK-105 for some pointers.

0

Please sign in to leave a comment.