Bug 544837 - Make "Show previous/next match" from the Search View be regular commands
Summary: Make "Show previous/next match" from the Search View be regular commands
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.9   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-26 12:29 EST by Zorzella Mising name CLA
Modified: 2019-02-27 13:11 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zorzella Mising name CLA 2019-02-26 12:29:29 EST
Here's my use case example:

1. You make a "References in Workspace" search (Shift+Ctrl+G)

2. You then want to browse through the results while still keeping the focus on the Editor

It would seem like it's just a matter of creating a key binding for the Search View's functionality of going to the next/prev match. Hovering over the UIs buttons, you see that the commands are labelled "Show Previous/Next Match", and seem to be bound to "Ctrl-," and "Ctrl-.". You figure it's just a matter of scoping these (since they are the same keys for "Previous/Next Annotation"), but somehow commands by that name don't exist in the "Preferences > General > Keys", and also don't seem to exist in the Ctrl-3 search.

That's because, it seems, "Ctrl-," and "Ctrl-." are bound to commands called "Previous" and "Next" that are, themselves, context-sensitive (to whatever is in focus).

That seems needlessly limiting. Particularly, you can't create keybindings for specific functionality, such as the Search View's "Show Previous/Next Match" (which is my primary objective: it would be very useful to me to be able to jump to prev/next search occurrence, using the keyboard, and keeping the focus on the Editor). It's also confusing (see about not finding these commands by name).

My proposal would be to change things so each functionality that is currently under the control of this master "Previous" and "Next" commands is, instead, its own bona fide command.