Groovy
  1. Groovy
  2. GROOVY-6399

groovysh: Completion of standalone default methods and infix keywords

    Details

    • Type: Improvement Improvement
    • Status: 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

      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

        Thibault Kruse created issue -
        Pascal Schumacher made changes -
        Field Original Value New Value
        Summary groovysh: bad completion of standalone default methods and infix keywords groovysh: Completion of standalone default methods and infix keywords
        Pascal Schumacher made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Fix Version/s 2.3.0 [ 19608 ]
        Assignee Pascal Schumacher [ pschumacher ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12735310 ] Default workflow, editable Closed status [ 12747047 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12972808 ] Default workflow, editable Closed status [ 12980610 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development