You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Abraham Grief (JIRA)" <ji...@apache.org> on 2016/09/27 03:21:21 UTC

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

Abraham Grief created GROOVY-7948:
-------------------------------------

             Summary: 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


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)