This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When we edit Java source code, we've an option to color the local variable declarations with a different color. It's in "Options » Fonts & Colors » Syntax » Category: Local Variable Declaration". It's a very fast way to watch which local varibles take part in a method, at a glance. I know that one can look for the "var" keyword for the same task. However, there may be more keywords too, such as "if" or "for", that have the same color and make this task slower.
I have added Local Variable Declaration and Local Variable Use to the JavaScript Coloring as well. You can try it in the next daily build [1] or in the next continal build from web-main[2]. [1] http://bits.netbeans.org/download/trunk/nightly/latest/ [2] http://deadlock.netbeans.org/job/web-main/
I'll try it as soon as I arrive home. Thank you a lot!
I've tested the today's build and the new feature works as expected. Thank you a lot :) .
You are welcome.