How to include files to be installed alongside the jar plugin ?


I am developing a language plugin and I want to bundle in it a TextMate Bundle that will be used for syntax highlighting, quite the same way the TexteMate bundle probably does.

I found in the intellij repository ( that the TextMate plugin has a lib folder that contains the textemate bundles that are ultimately installed next to the textemate.jar, but I have no clue how this folder is actually packaged with the plugin.

Is it possible to declare somewhere (maybe in the plugin.xml or in the that I want to package a specific folder with the plugin, so that this folder will also be installed on disc whenever someone installs the plugin itself ?

1 comment

You can modify your Gradle build script to include any resources into the final plugin distribution.
Or simply put them into your resources folder of your plugin.


Please sign in to leave a comment.