groovy
  1. groovy
  2. GROOVY-6399

groovysh: Completion of standalone default methods and infix keywords

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-rc-1
    • Fix Version/s: 2.3.0-beta-1
    • Component/s: Groovysh
    • Labels:
      None
    • Number of attachments :
      0

      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.

        Activity

        Show
        Thibault Kruse added a comment - See https://github.com/groovy/groovy-core/pull/276
        Hide
        Pascal Schumacher added a comment -

        Pull request merged. Thanks!

        Show
        Pascal Schumacher added a comment - Pull request merged. Thanks!

          People

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

            Dates

            • Created:
              Updated:
              Resolved: