Search code examples
intellij-ideaintellij-plugin

How can i provide Custom code-styles within a plugin


Basically my task is nearly a copy of [1], the only thing i want to achieve is, to put the generated codestyle.xml into a plugin to share this.

So i have my codeStyle.xml in my resources folder under codestyles like this: ressources/codestyles/codeStyle.xml

The reason behind this is, that we started using an internal plugin repo for intellij, and in that way it is easier for us to distribute the settings internally.

Maybe my approach is not the best one, but i am glad for any input regarding this ticket.

[1] How can I create custom Live Templates with an Intellij plugin

Thank you Simon


Solution

  • it looks like this is sadly not possible, as a solution we swapped to project based settings