Groovy Code Completion in NetBeans
By Petr Hejl on Oct 04, 2008
There were significant improvements in code completion for Groovy in NetBeans during the last few days. The code completion is now more accurate and reliable.
It provides the correct suggestions for methods and fields of statically typed variables, literals and collections. The correct code completion is now provided for these types inside if and for statements and other places. Also the simple type inference now takes place when using the latest development builds.
You can also see some visual enhancements such as better representation of method access level and return types.
Certainly there are areas to improve, such as completion of unparsable code fragments and extended type inference. Try the improvements for yourself. If you want to help us make it better, report the code fragment which provides the wrong results to issuezilla (component groovy). We can easily turn such fragment into a test cases and fix them.
This is just the beginning. More enhancements coming soon.