Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5298

Add .editorconfig to force use of tabs in IDEs

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Core 2.2.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      http://editorconfig.org/ "helps developers define and maintain consistent coding styles between different editors and IDEs" and is already widely used.

      IntelliJ, Visual Studio Code and other IDEs/Editors support editorconfig files out of the box, others like Eclipse, Atom, Sublime, Vim need a plugin.

      It does not replace the OpenMRSFormatter.xml but since our current formatter setup is not without issues and is often not working for developers we end up with a mess of spaces/tabs.

      Since editorconfig is widely used and works out of the box in IntelliJ this can help us at least with enforcing tabs.

       

        Attachments

          Activity

            People

            Assignee:
            teleivo Ivo Ulrich [X] (Inactive)
            Reporter:
            teleivo Ivo Ulrich [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: