You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2017/02/01 23:19:01 UTC

[jira] [Closed] (GROOVY-7948) tab completion for static imports in groovysh does not work

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

Paul King closed GROOVY-7948.
-----------------------------

> tab completion for static imports in groovysh does not work
> -----------------------------------------------------------
>
>                 Key: GROOVY-7948
>                 URL: https://issues.apache.org/jira/browse/GROOVY-7948
>             Project: Groovy
>          Issue Type: Bug
>          Components: Groovysh
>    Affects Versions: 2.4.7
>            Reporter: Abraham Grief
>            Assignee: John Wagenleitner
>             Fix For: 2.4.8
>
>
> Currently, if I run groovysh, and enter the following:
> {noformat}
> class MyMath {
>     static int square(int x) {return x*x}
> }
> import static MyMath.*
> {noformat}
> Then enter {noformat}sq{noformat} followed by hitting the Tab key, groovysh does not provided any possible auto-completions.
> Instead, hitting the Tab key should auto-complete to the square method in MyMath.
> I fixed this already in my local groovy installation and can submit it as a pull request if that helps.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)