Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-15644

add EditorConfig file, help to unified code style

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 5.0 RC2
    • Component/s: [Build]
    • Labels:
      None

      Description

      Many editor support the EditorConfig file. The config file help to unified code style between the various editors.

      The indent of the files is as following:

      • `gradle/jdiff/jdiff.html` indent_style is space 2,
      • `org/springframework/web/servlet/view/script/jruby/render.rb` indent_style is space 2,
      • `org/springframework/web/servlet/view/script/nashorn/render.js` indent_style is space 4
      • `META-INF/web-resources/WEB-INF/layouts/standardLayout.jsp` indent_style is space 4

        Attachments

          Activity

            People

            Assignee:
            snicoll Stéphane Nicoll
            Reporter:
            diguage D瓜哥
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 29 weeks, 6 days ago