Project: JDT
Bug 348368 [syntax highlighting] Add highlight for inherited fields
Reported: 2011-06-06 05:13:45 | Status: resolved fixed

Please add support to highlight inherited fields. Example: class A { ... protected int a; protected int x; ... } class B extends A { ... protected int b; void isntThatCoolIfSomeoneOverridesA() { a = b; x = b * b; } ... } In the example, "a" and "x" should be highlighted using a special "inherited field" style.

Files changed in fix:
org.eclipse.jdt.text.tests/src/org/eclipse/jdt/text/tests/SemanticHighlightingTest.java org.eclipse.jdt.text.tests/testResources/semanticHighlightingTest1/SHTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditorMessages.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightings.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorColoringConfigurationBlock.java