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

Bug 349411

Summary: [syntax highlighting] Syntax coloring for inherited field access
Product: [Eclipse Project] JDT Reporter: Björn Michael <b.michael>
Component: TextAssignee: JDT-Text-Inbox <jdt-text-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert
Version: 3.6.2   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Björn Michael CLA 2011-06-15 05:58:49 EDT
I find it very useful to colorizes inherited field access with another color than regular field access like the already built-in inherited method invocation with JDT built in syntax coloring.

Unfortunately, it isn't possible to assign different colors for fields and inherited fields in preferences->java->syntax coloring->element->java.

Reproducible: Always

Steps to Reproduce:
Open a java source file containing a field and a accessible inherited field from a parent class and try to assign different colors.
e.g.

public void aMethod() {

  Type a = field;
	Type b = inheritedField;

}
field and inheritedField can be shown with different colors.

May be we can combine inherited filed access with inherited method invocation to inherited member access for both fields and methods.
Comment 1 Dani Megert CLA 2011-06-15 06:02:31 EDT

*** This bug has been marked as a duplicate of bug 348368 ***