Fast imports in groovy files

Good news everyone,

the bug fixing phase for NetBeans 7.3. has ended and that means I can finally work on some new and surely awesome features in groovy area. Today I would like to show you first of them called "Fast imports". The meaning should be known for everyone using our Java support. For example you have a class GalacticMaster in package "masters" and you need to use instance of GalacticMaster somewhere else, say in MasterUser class from package named "users". Now you type something like "GalM", use code completion which results in completing GalacticMaster and NOW the big news --> it automatically adds the import statement into the file. Until now you would have to use either "Fix imports" action or import hint provided by NB to resolve missing imports. But now everything is done automatically and thus you don't need to take care of imports at all. Hope this will make your groovy coding a little bit easier again..

And that's all for today. If you are interested in trying the feature, you need to use one of our daily builds [1].

[1] http://bits.netbeans.org/download/trunk/nightly/latest/

Comments:

I've stopped using netbeans long ago due to lack of good groovy support. I see this as great news, since some teams in my company started java development using netbeans. I'll give this a shot ASAP. Keep up the good work.

Posted by Sdr Bt on July 11, 2013 at 06:25 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blogs is written by NetBeans developers who contribute to the Groovy support mainly.

Search

Archives
« April 2014
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
   
       
Today