Dynamic methods - code completion and editor errors
Answered
Hi!
I am working in a Groovy project using IntelliJ IDEA and have a widely used Dynamic Member.

I set this method to a dynamic member like so

This is an example use:

Is there any way I can get IDEA to see the run method as a RunWeb object? It is already listed as returning the type "RunWeb" in the Dynamic Members area, and I'm not sure what else I can do. The code compiles and runs identically, but the editor still greys the "click" method out when used with run().
Similar topic but for PHP
Please sign in to leave a comment.
Please report at https://youtrack.jetbrains.com/newIssue?project=IDEA with the small sample project to reproduce attached. Thank you.
Thank you Serge Baranov! I wasn't sure if it could be classified as an issue, or if there was a feature or setting that I was missing. I will report and submit it shortly.