Anyway to remap hotkeys in search bar?

Is there any way to remap (or even just unmap) the hotkeys in the search bar?  For example I often hit alt-o attempting to header switch when in the search bar, but instead this turns on whole-words-only matching, which is very frustrating (especially because it's hard to notice that it's on)

7 comments
Comment actions Permalink

       Hello, John.

       Sorry, but I can’t find the described action in Rider, therefore I have some questions:
       1. What is the action name for which you want to remove shortcut ?
       2. Could you please attach the step-by-step video or screenshots?
       It will help me to reproduce this issue.
       By the way, all the shortcuts can be configured in “File | Settings | Keymap”.

       Here is a corresponding help page: https://www.jetbrains.com/help/rider/Configuring_Keyboard_and_Mouse_Shortcuts.html.

       Best regards,
       Maxim Isaev.

0
Comment actions Permalink

With default keymap, the repro is to hit ctrl-f (for search) and then alt-o (which then toggles full word search on/off).  The alt-o is the part I want to unmap/remap but I can't find any mapping for that action, possibly because I'm not sure what it's called.

Here's a screen shot of the search bar and the roll-over that indicates the Alt+O hotkey.

 

0
Comment actions Permalink

I should add that searching the hotkey mappings via the reverse look up (i.e. searching for "alt+o" mappings) does not turn up anything promising.  Just "header switch", which is the thing I'd like to avoid the conflict with, and "export to text file", which of course doesn't sound related, but I'm not sure where it's used.

0
Comment actions Permalink

     Hi, John.
     Could you please tell why you use this key combination (alt + o) so often when the search bar is active? What is your use-case?

     Best regards.
     Maxim Isaev.

0
Comment actions Permalink

I'm not doing it on purpose generally.  It's just search and header/source swap are very commonly used hotkeys.  And the search bar is very easy to miss that it's up if you're looking at the editor window.  So it's easy to accidentally try to header swap with the search bar up.  It would be nice for that to work, but I'd be happy just unmapping the "whole words only" part since it's also very difficult to notice that's set and then get seemingly incorrect search results til you notice it's been accidentally enabled.

0
Comment actions Permalink

     Hello John.
     Unfortunately, Rider does not have such a feature, but you can create a request on IntelliJ IDEA tracker https://youtrack.jetbrains.com/issues/IDEA (search bar is a common functionality for all IntelliJ based IDEs).

     Best regards,
     Maxim Isaev.

0
Comment actions Permalink

Thanks for the help.  I opened an issue here: https://youtrack.jetbrains.com/issue/IDEA-248003

1

Please sign in to leave a comment.