Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 30154

Summary: [syntax highlighting] Color code elements by scope
Product: [Eclipse Project] JDT Reporter: Simon Tardell <simon>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: eric.estievenart
Version: 2.1   
Target Milestone: 3.0 M9   
Hardware: All   
OS: All   
Whiteboard:

Description Simon Tardell CLA 2003-01-24 05:49:38 EST
In Java you can declare local variables just about anywhere in the code. That 
makes it difficult to, at a glance, see if a variable is local, a parameter or 
a instance or static field of the class. Naming conventions are often imposed 
to remedy this. However, different shops have a habit adopting different 
naming conventions, and you are increasingly likely to use toolkits in source 
form from a number of different origins. 

It would be helpful if it was possible to assign different colors to 
identifiers by their scope, so that e.g. fields and local variables would 
stand out as different in the editor.
Comment 1 Christof Marti CLA 2004-05-05 03:38:58 EDT
Available in builds > 20040423 (see preference page Java->Editor->Semantic
Highlighting; will be integrated with the current Syntax Highlighting preference
page).

Please close this bug.
Comment 2 Dani Megert CLA 2004-05-05 03:53:52 EDT
.