Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hover help/intellisense broken with @BaseScript #1190

Closed
ffrog8 opened this issue Nov 4, 2020 · 3 comments
Closed

Hover help/intellisense broken with @BaseScript #1190

ffrog8 opened this issue Nov 4, 2020 · 3 comments
Assignees
Labels
Milestone

Comments

@ffrog8
Copy link

ffrog8 commented Nov 4, 2020

Using the example usage from BaseScript groovy-eclipse is nolonger able to resolve/display hover help.


abstract class CustomScriptBodyMethod extends Script {
    abstract def runScript()
    def preRun() {
        println "preRunning"
    }
    def postRun() {
        println "postRunning"
    }
    def run() {
        preRun()
        try {
            3.times { runScript() }
        } finally {
            postRun()
        }
    }
}

@BaseScript CustomScriptBodyMethod baseScript
println "Script body run"

hovering mouse over println does not show pop up hoverhelp
and
postRun is not available as an auto complete in the script
eric-milles added a commit that referenced this issue Nov 6, 2020
@eric-milles eric-milles self-assigned this Nov 6, 2020
@eric-milles eric-milles added the bug label Nov 6, 2020
@eric-milles eric-milles added this to the v4.0.0 milestone Nov 6, 2020
@eric-milles
Copy link
Member

before
image

after
image

@eric-milles
Copy link
Member

ready to test

@ffrog8
Copy link
Author

ffrog8 commented Nov 6, 2020

Awesome - verified with latest snapshot! Thanks @eric-milles such a quick turn around

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants