EclipseCodeFormatter
EclipseCodeFormatter copied to clipboard
Support loading XML configuration from JAR
It would be nice to allow "Eclipse workspace/project folder or config file" to allow a JAR file. Something like:
~/.m2/repository/org/example/ide-config/1.0.0.Final/idea-config-1.0.0.Final.jar!settings/eclipse-formatter.xml
It looks possible given it just loads the file into properties. I just couldn't quite figure out how to test it with the latest release of IDEA.
The formatting file is often bundled into a JAR for use by formatter-maven-plugin, i.e. https://code.revelc.net/formatter-maven-plugin/examples.html#custom-configuration-file
Would be handy if this plugin could handle a URI