Groovy Code Completion in NetBeans

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.

Comments:

Great work this is just what groovy needs. I use groovy alot because it is fun to program in but it is hard to be more productive than in Java since there is not as good IDE support. So this is a great step in the right direction.

Posted by Per Arneng on October 07, 2008 at 02:16 PM CEST #

Thanks, can't wait to see the improvements! This is exactly what Netbeans developers need for Groovy.

Posted by Steve on October 15, 2008 at 02:11 PM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Petr is a NetBeans software engineer responsible for the Groovy & Grails support.

Search

Categories
Archives
« July 2015
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today