groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Wagenleitner (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-7948) tab completion for static imports in groovysh does not work
Date Sun, 16 Oct 2016 05:58:20 GMT

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

John Wagenleitner resolved GROOVY-7948.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.4.8

Thanks for reporting the issue and for the pull request to fix it!

> 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.4#6332)

Mime
View raw message