Challenges with packaging adaptations to the Markdown plugin

Answered

IJ 2021.2CE

I've cloned the IJ CE source in order to apply some changes to the markdown plugin. The raw clone builds and so does the plugin via Build Project and Build Module respectively.

However, I'm unclear on how to prepare a new standalone zip of my plugin for sharing with other users. There's plenty of advice on how to start a new plugin (https://github.com/JetBrains/intellij-platform-plugin-template) and explanation on why we should use gradle (https://github.com/JetBrains/gradle-intellij-plugin) but nothing I can find tells me how to prepare a release of just markdown functionality. My IJ also does not present the option shown in https://plugins.jetbrains.com/docs/intellij/deploying-plugin.html to "Prepare Plugin Module .. for Deployment".

Can anybody provide some helpful hints?

2 comments
Comment actions Permalink

The plugins bundled in IntelliJ Community sources are not mean to be built and deployed standalone.

You could try and "wrap" Gradle setup around existing Markdown plugin (possibly c/p its sources to separate standalone project).

Alternatively, build the whole IJ Community distribution from sources and then "extract" the resulting Markdown plugin from the output.

0
Comment actions Permalink

Okay, thanks for clarifying.

0

Please sign in to leave a comment.