Details
-
Bug
-
Status: Closed
-
Could
-
Resolution: Won't Fix
-
Undetermined
-
Description
In OpenMRS we use the code formatter maven plugin for maintaining code formatter styles.
We already have a code formatter for the eclipse IDE, which is used to format java class content [0]
However, we don't have a set of rules for formatting our xml files. But there are many online resources advising on the best practices on how to do this. Using these resources, prepare a list of rules (in the form of a code formatter file) that can be applied to our code, thereby maintaining proper code format.
[0] https://wiki.openmrs.org/display/docs/Coding+Conventions#CodingConventions-CodeStyle