Monday Jun 26, 2006

New Features in NetBeans IDE, part 2 - Improved Code Completion

Lets continue with our survey through newly planned features for a future version of NetBeans. Today, I would like to focus on one of the most important features of a modern IDE - code completion.

The code completion is undergoing a total rewrite. The new code completion should provide not only in much better performance than the old one, but also a handfull of new and cool features:

keywords suggestions: the code completion will propose keywords usable in a given context:

Keyword code completion

smart completion: a special type of the code completion which proposes only suggestions that match to the current situation by type. For example, if you type List l = new , the smart completion will only propose subclasses of List, like ArrayList:

Smart code completion

smart completion for catch clauses: for catch clauses, only exceptions thrown inside the corresponding try block are proposed by the smart code completion:

Smart code completion for catch clauses

suggestions of variable names: the code completion tries to infer a usable variable name.

filtering of suggestions by type: the code completion will propose only classes after extends clause, only interfaces afer implements clause and only Throwables after throw new.

code completion for Javadoc: it is planned that the code completion should work meaningfully only in the Javadoc comments.

Monday Jun 19, 2006

New Features in NetBeans IDE, part 1 - Improved Coloring

As you can probably imagine, the NetBeans development did not stop with NetBeans 5.0 and NetBeans 5.5. A new version of NetBeans, which is already being planned, is supposed to bring many new features. I would like to describe some of them here. Please note that all I will present here is preliminary and subject of change.

One of the most visible new features is extended coloring in the editor. The code should be colored not only according to the lexical information (aka syntax highlighting), but also according to syntax and semantic information. For example, fields should get a different colors than local variables, etc.:

Improved coloring the editor

Additionally, also content for Javadoc comments and string literals should be colored to allow better orientation:

Improved coloring of Javadoc comments

And last, but not least, the unused elements will be detected and shown in gray:

Unused elements are shown in gray

Many more new features and improvements are planned: improved code completion, improved code templates, editor hints improvements, and many others. Stay tuned for details.

About

lahvac

Search

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