If that doesnt exist in 2017.1 it means they removed it which is annoying.
Our formatter xml is from an older eclipse version, you could update that to latest Eclipse and try to import that into 2017.1 intellij. maybe it still supports eclipse xmls but not the older xml version we have.
SHORT ANSWER:
Sure you can add it here https://github.com/openmrs/openmrs-core/tree/master/tools/src/main/resources/intellij
so people can contribute
LONG ANSWER:
Formatting is something that I think is a pain and could be improved.
I mean we often have different formatting from intellij/eclipse contributors. Not everyone configures their IDE, is it to combersome, complicated? Or runs the maven build command running the formatter which unfortunately does not format everything (the formatter we use is outdated and our format xml is not well configured for fluent APIs see [TRUNK-5095] - OpenMRS Issues )
Maintaining 2 files for the same thing is annoying. The one we had wasnt updated for fluent/Java 8 style.
Should we look into alternatives for this?
- GitHub - google/google-java-format: Reformats Java source code to comply with Google Java Style. (if we go all in for googles java style, they provide plugins for both IDEs that will make our code conform to the style; they use spaces not tabs
)
- http://editorconfig.org/ (seems to be used in javascript, python projects might not be good enough for us)