Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9882

better synchronize eclipse formatter with spotless

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None
    • New

    Description

      Spotless project provides an eclipse .xml format (which is just the properties in xml format) that is pretty close to what its doing.

      Currently, I don't remember where our formatting settings came from. they are pretty close, but if I import the spotless settings in, then it is measurably closer (tested by reformatting entire codebase with eclipse and then looking at diff size)

      Before: 33MB diff
      After: 25MB diff

      Keep in mind the comparison is noise'd up by a lot of generated code and stuff like that, and the formatting match also isn't 100% match, but still seems worth looking into: smoother path for the user.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rcmuir Robert Muir
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m