Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7948

tab completion for static imports in groovysh does not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.7
    • 2.4.8
    • Groovysh
    • None

    Description

      Currently, if I run groovysh, and enter the following:

      class MyMath {
          static int square(int x) {return x*x}
      }
      import static MyMath.*
      

      Then enter

      sq

      followed by hitting the Tab key, groovysh does not provided any possible auto-completions.

      Instead, hitting the Tab key should auto-complete to the square method in MyMath.

      I fixed this already in my local groovy installation and can submit it as a pull request if that helps.

      Attachments

        Issue Links

          Activity

            People

              jwagenleitner John Wagenleitner
              heenenee Abraham Grief
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: