Jan Lahoda's Blog

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.

Comments:

This smart completion is my most anticipated NetBeans feature, specially after evaluating IntelliJ IDEA in the past. IDEA's smart code completion was a feature that really sped up my coding process.

Posted by Thiago HP on June 26, 2006 at 02:10 PM CEST #

We love this!

Posted by Ramón on June 26, 2006 at 02:36 PM CEST #

About "smart completion" it's very NICE. I think the IZ is #8226 right ?

Posted by Claudio Miranda on June 26, 2006 at 03:33 PM CEST #

I can't stop drooling! Keep up the great work! I am impatiently looking forward to Netbeans 6 even though 5.5 is not out yet! You Netbeans devs are truly spoiling us!

Posted by Surya on June 26, 2006 at 05:30 PM CEST #

Great stuff, but a question: Are this just ideas or are there any local implementations in progress, which are not in the CVS for obvious reasons? greetz J..e

Posted by Jake on June 27, 2006 at 04:01 PM CEST #

Is this available in the NB 6.0 trunk, or some where I can download the NBM. Thanks

Posted by Winston Prakash on June 28, 2006 at 06:01 PM CEST #

It looks like the smart completion could be just a little smarter. The classes list suggested after "new " should not contain any abstract classes. Nevertheless, those are some good ideas.

Posted by Devesh on June 29, 2006 at 12:00 AM CEST #

Hi, the screenshots were taken from an existing prototype, but it is not yet available, sorry. Regarding the smart code completion: I think that presenting abstract classes and interfaces is meaningfull - the user may need to create an annonymous inner class, and not proposing abstract classes would only complicate this taks.

Posted by Jan Lahoda on July 03, 2006 at 05:42 PM CEST #

Great! This will let me wait for 6.0 impatiently more than now. :)
When could we look to it live in a build? Any approx by you?
@abstracts and inners: for me it sounds good, especially for GUI development it could be very useful.

A question: What is used instead of the MDR now? I think with the old way, you won't be able to provide all those functionality in a reasonable time, will you? Greetz J..e

Posted by Jake on July 04, 2006 at 01:09 PM CEST #

Just noticed Devesh's comment about abstract classes after "new ". He's wrong, you want that so you can make an anonymous inner class.

Posted by swpalmer on August 17, 2006 at 04:49 AM CEST #

I'm currently an IDEA user and this really looks a lot like IntelliJ... and that's great, really! Just one thing that is also a current issue in IDEA (and could be implemented in NB from the beginning): The order/list of suggestions should be configurable, like "exclude sun.* packages", "order by packgages <package-order>, then alphabetically" and so on... this is IMO important. regards, Messi

Posted by Messi on August 21, 2006 at 10:02 AM CEST #

[Trackback] Tramadol.

Posted by Tramadol for dogs side effects. on April 23, 2007 at 05:41 PM CEST #

I am Very thank full the owner of this blog. Becouse of this blog is very imformative for me.. And I ask u some thiing You make more this type blog where we can get more knowledge.
thanks you very high work..

Posted by www.r10.net küresel ısınmaya hayır seo yarışması on December 31, 2007 at 03:46 AM CET #

I am Very thank full the owner of this blog. Becouse of this blog is very imformative for me.. And I ask u some thiing You make more this type blog where we can get more knowledge.
thanks you very high work..

http://www.cesurturk.org

Posted by seo www.r10.net kuresel isinmaya karsi hayir seo yarismasi on December 31, 2007 at 03:47 AM CET #

thank you.. you just need

Posted by youtube on February 13, 2008 at 11:29 PM CET #

I like this.

Posted by Recep İvedik on March 02, 2008 at 08:50 PM CET #

This is cool blog. thanks Jan.

Posted by flashgamemania on April 13, 2008 at 04:21 PM CEST #

sex shop

Posted by sex shop on May 31, 2008 at 12:23 PM CEST #

seks shop

Posted by seks shop on May 31, 2008 at 12:23 PM CEST #

zayıflama

Posted by zayıflama on May 31, 2008 at 12:24 PM CEST #

zayıflama ürünleri

Posted by zayıflama ürünleri on May 31, 2008 at 12:24 PM CEST #

erotik shop

Posted by erotik shop on May 31, 2008 at 12:25 PM CEST #

zayıflama

Posted by zayıflama on May 31, 2008 at 12:26 PM CEST #

penis büyütücü hap

Posted by penis büyütücü hap on May 31, 2008 at 12:30 PM CEST #

sex shop

Posted by sex shop on May 31, 2008 at 12:30 PM CEST #

hodobax

Posted by hodobax on May 31, 2008 at 12:31 PM CEST #

seks shop

Posted by seks shop on May 31, 2008 at 12:32 PM CEST #

zayıflamak

Posted by zayıflamak on May 31, 2008 at 12:37 PM CEST #

şişme manken

Posted by şişme manken on May 31, 2008 at 12:47 PM CEST #

penis büyütücüler

Posted by penis büyütücüler on May 31, 2008 at 12:47 PM CEST #

anal vibratörler

Posted by anal vibratörler on May 31, 2008 at 12:48 PM CEST #

diyet

Posted by diyet on June 05, 2008 at 11:19 AM CEST #

seks shop

Posted by seks shop on June 05, 2008 at 11:19 AM CEST #

sex shop

Posted by sex shop on June 05, 2008 at 11:20 AM CEST #

diyetle zayıflama

Posted by diyetle zayıflama on June 05, 2008 at 11:20 AM CEST #

thanks very good .

Posted by erotik shop on June 13, 2008 at 06:06 PM CEST #

What is the obsession with Homo erectus? There couldn't be something between H. habilis and H. erectus? H. erectus has to be the first of the genus to migrate out of Africa? I don't think so.

Posted by Estetik on December 02, 2008 at 07:48 PM CET #

zayıflama

Posted by zayıflama on December 05, 2008 at 01:28 PM CET #

thank you very much

Posted by hakan on January 03, 2009 at 09:33 PM CET #

I hear the WHO is expecting to have elephantiasis eliminated within two decades.

Posted by ahmet turk on January 03, 2009 at 09:34 PM CET #

thank you for the video iput on my youtube.

Posted by Youtube on January 21, 2009 at 07:34 PM CET #

thansk i wacth some films

Posted by film izle on January 21, 2009 at 07:35 PM CET #

thanks i like it.

Posted by webmaster forumları on January 21, 2009 at 07:35 PM CET #

it can get oscar

Posted by oscar on January 21, 2009 at 07:36 PM CET #

I need a tattoo with it.

Posted by tatto on January 21, 2009 at 07:37 PM CET #

is netbean still exist?
I love it.

Posted by framedyn.dll on February 23, 2009 at 10:23 AM CET #

thank you very much

Posted by Film izle on March 01, 2009 at 02:47 AM CET #

thanks man

Posted by Online Sinema on March 01, 2009 at 02:48 AM CET #

Thanks.. http://www.oyunbro.com

Posted by oyun oyna on April 01, 2009 at 03:58 PM CEST #

<a href="http://www.boniecinsiyetbelirleme.com">erkek çocuk</a> isteyenler bonie family planning

Posted by cinsiyet belirleme on August 30, 2009 at 09:43 AM CEST #

good news

Posted by zayıflama on October 29, 2009 at 02:59 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed

Calendar

Feeds

Search

Links

Navigation

Referrers