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

Eclipse settings - prevent automatic code reformatting on save

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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
        elyograg Shawn Heisey added a comment -

        Committed to trunk and branch_4x.

        Show
        elyograg Shawn Heisey added a comment - Committed to trunk and branch_4x.
        Hide
        jira-bot 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
        jira-bot 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
        jira-bot 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
        jira-bot 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
        rcmuir Robert Muir added a comment -

        +1

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

        +1

        Show
        jpountz Adrien Grand added a comment - +1
        Hide
        elyograg Shawn Heisey added a comment -

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

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

        Updated patch with CHANGES.txt.

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

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development