Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support loading XML configuration from JAR #245

Open
jamezp opened this issue Jul 8, 2022 · 1 comment
Open

Support loading XML configuration from JAR #245

jamezp opened this issue Jul 8, 2022 · 1 comment

Comments

@jamezp
Copy link

jamezp commented Jul 8, 2022

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.

@delanym
Copy link

delanym commented Apr 20, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants