Lucene - Core
  1. Lucene - Core
  2. LUCENE-5747

Eclipse settings - prevent automatic code reformatting on save

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.8.1
    • Fix Version/s: 4.9
    • Component/s: general/build
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      If the user has Eclipse globally configured to automatically reformat code or reorganize imports on save, currently these actions will be performed, because the settings created by "ant eclipse" do not have any project-specific settings to disable it. This will add those project-specific settings.

      1. LUCENE-5747.patch
        7 kB
        Shawn Heisey
      2. LUCENE-5747.patch
        6 kB
        Shawn Heisey

        Activity

        Hide
        Shawn Heisey added a comment -

        Patch implementing the project-specific editor save actions, disabling all such actions.

        Show
        Shawn Heisey added a comment - Patch implementing the project-specific editor save actions, disabling all such actions.
        Hide
        Shawn Heisey added a comment -

        Updated patch with CHANGES.txt.

        Show
        Shawn Heisey added a comment - Updated patch with CHANGES.txt.
        Hide
        Shawn Heisey added a comment -

        I will commit this late tonight (in my timezone, UTC-6) if there are no objections.

        Show
        Shawn Heisey added a comment - I will commit this late tonight (in my timezone, UTC-6) if there are no objections.
        Hide
        Adrien Grand added a comment -

        +1

        Show
        Adrien Grand added a comment - +1
        Hide
        Robert Muir added a comment -

        +1

        Show
        Robert Muir added a comment - +1
        Hide
        ASF subversion and git services added a comment -

        Commit 1601446 from Shawn Heisey in branch 'dev/trunk'
        [ https://svn.apache.org/r1601446 ]

        LUCENE-5747: Prevent automatic code reformatting when saving in eclipse

        Show
        ASF subversion and git services added a comment - Commit 1601446 from Shawn Heisey in branch 'dev/trunk' [ https://svn.apache.org/r1601446 ] LUCENE-5747 : Prevent automatic code reformatting when saving in eclipse
        Hide
        ASF subversion and git services added a comment -

        Commit 1601461 from Shawn Heisey in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1601461 ]

        LUCENE-5747: Prevent automatic code reformatting when saving in eclipse (merge trunk r1601446)

        Show
        ASF subversion and git services added a comment - Commit 1601461 from Shawn Heisey in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1601461 ] LUCENE-5747 : Prevent automatic code reformatting when saving in eclipse (merge trunk r1601446)
        Hide
        Shawn Heisey added a comment -

        Committed to trunk and branch_4x.

        Show
        Shawn Heisey added a comment - Committed to trunk and branch_4x.

          People

          • Assignee:
            Shawn Heisey
            Reporter:
            Shawn Heisey
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development