Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3428

Groovy Editor Ignores Tab And Indentation Settings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0.RELEASE
    • Fix Version/s: 3.3.0.RC2
    • Component/s: None
    • Labels:
    • Environment:
      Windows 7, Groovy 1.7.10, Grails 1.3.7, Java 1.6

      Description

      While using the Groovy editor on a .groovy file, automatic indentation seems to be disabled. Opening a curly brace and hitting enter results in the cursor starting at the very beginning of the next line, and no closing curly brace is generated.

      Pressing the tab button on a new line does not cause any indentation. Pressing the tab button AFTER typing a new line gives the expected behavior.

      Highlighting a block of code and pressing CTRL-I, or right-clicking and going Source->Indent has no effect on the code.

      Issue occurs with imported project files, new files added to imported project, and new files created in non-imported project

      Opening the same file with the Java editor gives the expected behavior

        Attachments

          Activity

            People

            Assignee:
            aeisenberg Andrew Eisenberg
            Reporter:
            dspetz David Spetz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: