EclipseCodeFormatter icon indicating copy to clipboard operation
EclipseCodeFormatter copied to clipboard

Support loading XML configuration from JAR

Open jamezp opened this issue 2 years ago • 1 comments

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.

jamezp avatar Jul 08 '22 00:07 jamezp

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

delanym avatar Apr 20 '23 14:04 delanym