| Summary: | [syntax highlighting] Add highlight for inherited fields | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Aaron Digulla <digulla> | ||||
| Component: | Text | Assignee: | Björn Michael <b.michael> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | b.michael, daniel_megert | ||||
| Version: | 3.7 | Flags: | daniel_megert:
review+
|
||||
| Target Milestone: | 3.8 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
*** Bug 349411 has been marked as a duplicate of this bug. *** Created attachment 212025 [details]
Patch to support Syntax Coloring of inherited fields
May be too late for 3.8
(In reply to comment #2) > Created attachment 212025 [details] [diff] > Patch to support Syntax Coloring of inherited fields > > May be too late for 3.8 I'll take a look during M7. Thanks for the patch Björn. It works and even adds a test case! I committed your patch with three changes: - added copyright information - adjusted copyright date - ignored the change in AbstractSemanticHighlightingTest since it's not related to this bug Fixed in master: http://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=cfd27e285557bf393c955344ac00ab86a9c53c4b |
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.