Quantcast
Channel: Oracle Bloggers
Viewing all articles
Browse latest Browse all 19780

Fast imports in groovy files

$
0
0

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/


Viewing all articles
Browse latest Browse all 19780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>