« červenec 2005 »
PoÚtStČtSoNe
    
23
30
31
       
Today

Navigation

Speaker Profile
Roumen's Weblog
Login
Sun Bloggers
Technorati Profile

Am I popular?

Today's Page Hits: 401

Contacts

Name: Roman Strobl
E-mail: roman dot strobl
at sun dot com

NetBeans

Java Sites

Javalobby
The Server Side
Java Tips
Java Blogs
java.net
java.sun.com
java.cz

Blogs

NetBeans:
Geertjan
Brian Leonard
Gregg Sporar
Lukas Hasik
Ludovic Champenois
Vincent Brabant
Alexis Moussine-Pouchkine
Jullion-Ceccarelli
Tom Ball
Tim Boudreau
Jesse Glick
Petr Blaha
Ruth Kusterer
Jara Uhrik
xzajo
Jan Lahoda
James Branam
nbextras.org

Sun:
Kazem - bug cartoons ;-)
Tor Norbye
Romain Guy
James Gosling
Chief Gaming Officer
Bill Vass
Jim Grisanzio
Jonathan Schwartz

Planets:
Planet Netbeans
Planet Sun
Planet Eclipse

Other:
netbeans-blog.org
Joel Spolsky
Bruce Eckel

License info

Creative Commons License
This work is licensed under a Creative Commons License.

Recent Entries

Map of visits

Locations of visitors to this page
« Previous day (Jul 10, 2005) | Main | Next day (Jul 11, 2005) »
20050711 Pondělí červenec 11, 2005
Quick Tip #9 - Better Responsivenes of Error Marks and Hints

I've seen in one of the web discussions somebody complaining that NetBeans editor is not enough responsive when errors in code are being marked. Well, there's one option which can make things work much faster:



The magical option is Tools | Options | Editing | Java Sources | Automatic Parsing Delay. It sets how long should the IDE wait before the sources get parsed. The default value is 2000 ms and to make error marks faster I've changed it to 500 ms. Why is the value higher by default? Parsing the sources takes quite a lot of CPU cycles and if it would be too small NetBeans could have performance problems on slower machines. The parsing is activated after defined time of no activity and you certainly don't want to run the parser after every keystroke. You can tweak this option depending on your hardware - if you have a really fast CPU you set a smaller delay and get better responsiveness.

This option influences the following features:
Use this option cautiously and don't complain to me that the IDE takes too much of your CPU if you set the value too low. I will be able to use a short delay because this beauty is now being installed for me.


    Disclaimer: The contents of my blog represent my personal opinions which may differ from official views of my employer, Sun Microsystems.