Thursday Mar 15, 2012

CamelCase completion

Hello everyone,

first feature I would like to show you is a CamelCase completion. You've most probably already used it in the Java editor and now it is possible to do the same in the Groovy editor! For those who don't know what exactly is meant by CamelCase completion, short example follows:

Let's say we have two classes GalacticMaster and SuperGalacticMaster. Obviously SuperGalacticMaster needs to subclass GalacticMaster. With CamelCase completion we can do:


..and as you can see editor correctly propose our GalacticMaster (because Galactic starts with 'Ga' and Master starts with 'M'). Similarly SuperGalacticMaster might want to build some Strings (how else he would become SuperGalacticMaster, right?):

..and again we can choose whatever we want to complete.

And that's all for today. If you would like to try the CamelCase completion on your own, download the latest development build and I will be more than happy for every feedback!

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