Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 30154 - [syntax highlighting] Color code elements by scope
Summary: [syntax highlighting] Color code elements by scope
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement with 5 votes (vote)
Target Milestone: 3.0 M9   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-24 05:49 EST by Simon Tardell CLA
Modified: 2004-05-05 03:53 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
.