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

Groovy Editor Ignores Tab And Indentation Settings

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0.RELEASE
    • 3.3.0.RC2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: