Bug 496692

Summary: Search view: Some contextual menu items on files are useless/misleading ("Remove All Matches", "Replace All...", etc)
Product: [Eclipse Project] Platform Reporter: Nobody - feel free to take it <nobody>
Component: SearchAssignee: Platform-Search-Inbox <platform-search-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows NT   
Whiteboard:

Description Nobody - feel free to take it CLA 2016-06-23 17:41:26 EDT
A secondary button click on a file from the Search view offers numerous options, despite the removal of a couple following ticket #477471.

There are still 2 actions there which could be misleading, i.e. "Remove All Matches" and "Replace All...", etc). While the items do what their label says they do, in the context of a file, a user would understandbly think that they would simply remove/replace all matches *in the selected file*.

In any case, since these are already offered in the top bar, they are superfluous, and removing them would probably just help users focus on the relevant options.

There are 2 more options which, while they are neither misleading nor in any way risky, should IMO be removed too, i.e. "Next Match" and "Previous Match". While these work, what they do should be labeled "First Match" and "Last Match", and I fail to see a use case for these actions.


Note that the options removed following ticket #477471 were also removed from the contextual menu offered when clicking "nowhere" (on no file). This is not needed, and would IMO be a disservice, although I for one do not remember using the search view that way.