Bug 552268 - [Search][Call Hierarchy] Colour search results by type
Summary: [Search][Call Hierarchy] Colour search results by type
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.13   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-21 04:21 EDT by Lukas Eder CLA
Modified: 2019-11-05 06:33 EST (History)
1 user (show)

See Also:


Attachments
Screenshot of IntelliJ's call hierarchy (39.57 KB, image/png)
2019-10-21 04:21 EDT, Lukas Eder CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Eder CLA 2019-10-21 04:21:51 EDT
Created attachment 280357 [details]
Screenshot of IntelliJ's call hierarchy

A very cool feature I've observed in IntelliJ recently is the way the colour search results by type. For example, when using the Call Hierarchy view, matches in tests are coloured green, and matches in ordinary code are white.

When there are lots of matches in any kind of search similar to the call hierarchy, it is a useful way to quickly distinguish between the two paths, to help filter out the paths that are not immediately useful for a particular search.
Comment 1 Noopur Gupta CLA 2019-11-05 06:30:09 EST
Coloring the results could be useful. 

For test code, Eclipse IDE has a filter in both Search view and Call Hierarchy view (View menu > Filters... > Test code) to quickly remove the results from the test code.