Can not show suggestion with @Field on Groovy
Answered
Hi guys,
When I use @Field for global variables on Groovy.
Intellij can not show any suggestions such as class properties or defined method

Position.Groovy
class Position {
def Left
def Right
def Middle
def methodMissing(String name, args) {
return 1
// implementation of dynamic method synthesis
}
}
Main.groovy
import groovy.transform.Field
@Field pos = new Position()
def main () {
pos.methodMissing(name)
}
1 comment
Sort by
Date
Votes
Hi there - please follow https://youtrack.jetbrains.com/issue/IDEA-306000
Please sign in to leave a comment.