wiki needs you: share your IDE tips and tricks

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 :slight_smile:

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?

1 Like