You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Thibault Kruse (JIRA)" <ji...@apache.org> on 2015/08/28 12:55:46 UTC

[jira] [Updated] (GROOVY-7565) Groovysh tab completion should provide trailing spaces only when expecting more arguments

     [ https://issues.apache.org/jira/browse/GROOVY-7565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thibault Kruse updated GROOVY-7565:
-----------------------------------
    Description: 
And also bug after 'as' completion of import

To reproduce ( '|' shows the cursor, <tab> means hitting tab)

{code}
groovy:000> :ex|<tab>
groovy:000> :exit |  // bad trailing blank, no more arguments allowed

groovy:000> :history sh|<tab>
groovy:000> :history show |  // bad trailing blank, no more arguments allowed

groovy:000>  import java.lang.Math as Foo|<tab>
// internal Exception, causes prompt to be reprinted
{code}

See https://github.com/apache/incubator-groovy/pull/92

  was:
And also bug after 'as' completion of import

To reproduce ( '|' shows the cursor, <tab> means hitting tab)

{code}
groovy:000> :ex|<tab>
groovy:000> :exit |  // bad trailing blank, no more arguments allowed

groovy:000> :history sh|<tab>
groovy:000> :history show |  // bad trailing blank, no more arguments allowed

groovy:000>  import java.lang.Math as Foo|<tab>
// internal Exception, causes prompt to be reprinted
{code}


> Groovysh tab completion should provide trailing spaces only when expecting more arguments
> -----------------------------------------------------------------------------------------
>
>                 Key: GROOVY-7565
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7565
>             Project: Groovy
>          Issue Type: Improvement
>          Components: Groovysh
>            Reporter: Thibault Kruse
>            Priority: Minor
>
> And also bug after 'as' completion of import
> To reproduce ( '|' shows the cursor, <tab> means hitting tab)
> {code}
> groovy:000> :ex|<tab>
> groovy:000> :exit |  // bad trailing blank, no more arguments allowed
> groovy:000> :history sh|<tab>
> groovy:000> :history show |  // bad trailing blank, no more arguments allowed
> groovy:000>  import java.lang.Math as Foo|<tab>
> // internal Exception, causes prompt to be reprinted
> {code}
> See https://github.com/apache/incubator-groovy/pull/92



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)