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

groovysh: Completion of standalone default methods and infix keywords

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-rc-1
    • Fix Version/s: 2.3.0-beta-1
    • Component/s: Groovysh
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: