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

groovysh: Completion of standalone default methods and infix keywords

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.0-rc-1
    • 2.3.0-beta-1
    • Groovysh
    • None

    Description

      To reproduce, in groovysh:

      groovy:000> pri

      Pressing tab gives 'private', should also produce "println" etc.

      groovy:000> us

      Pressing tab gives nothing, should produce "use ("

      So apparently "use" is not a special function, but

      groovy:000> inst

      Pressing tab gives instanceof, should produce nothing (not valid syntax position)

      groovy:000> x inst

      Pressing tab gives nothing, should produce "x instanceof"

      same for in, extends, implements.

      Attachments

        Activity

          People

            pschumacher Pascal Schumacher
            tkruse Thibault Kruse
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: