You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "John Wagenleitner (JIRA)" <ji...@apache.org> on 2016/09/28 00:18:20 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15527885#comment-15527885 ]
John Wagenleitner commented on GROOVY-7948:
-------------------------------------------
Thanks for reporting the issue, a pull request would be great.
> 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)