Wiki Spaces

Documentation
Projects
Resources

Get Help from Others

Q&A: Ask OpenMRS
Discussion: OpenMRS Talk
Real-Time: IRC Chat | Slack

Documentation

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
intellij-code-format
intellij-code-format
Java Code Format

...

 1. Install Eclipse Code Formatter plugin in intelliJ | Go to Files -> Settings -> Plugins | Select Marketplace and search for Eclipse Code Formatter, then install it and restart your IntelliJ

Image Modified
 

2. Get OpenMRS Formatter XML file

3. Go to Files -> Settings -> Other Settings -> Eclipse Code Formatter |  The configuration must look like

...

this

Image Modified

  • Turn on the Eclipse Code Formatter
  • Import the previously downloaded XML file
  • Turn off the option for Optimizing Imports

...