keyboard shortcut for search history dropdown list - removed?
Answered
Prior to 2017.1 it was possible to access the search history list with keyboard shortcuts. The combinations were:
To search within the current file: cmd + f, then up/down arrows
To search in the entire project: cmd + shift + f then shift (or option?) + up/down arrows
The mentioned combinations above allowed moving the cursor thru the history list, and it was possible to select the searched token and run the search with no mouse interaction.
With the new 2017.1 version, neither combinations has this effect. I've searched keyboard shortcuts for that functionality (under preferences) but couldn't find any.
Were the "search from history" keyboard shortcut removed altogether?
Please sign in to leave a comment.
Ctrl+H opens the history.
See also https://youtrack.jetbrains.com/issue/IDEA-168659.
It does, how awesome! thanks @Serge
if I may, how can I find similar shortcuts myself?
I looked in Preferences -> Kemap for "search" or "history" tokens, didn't find the Ctrl+H combo, which gets me to think I'm looking in the wrong place
There is a popup hint:
Intuitive enough :)
I guess there's no way to customize the key binding for this one?
No, but it may appear in the future updates, there is a plan to unify it since it has different shortcuts in different dialogs.
makes sense. Thanks!
I remember having the keybinding before losing my settings to some settings sync plugin, and can't find it any more, does this shortcut exist or not?
Hi rav eren
Does the Alt + Down shortcut work?
ha I had seen this keyboard shortcuts entry, but weirdly only the association pointed by arrow actually works, and there are no conflicts with other bindings, I tried cmd+down first, which was my preference and it didn't work either.
Macos, obviously.
Unfortunately, the problem is not reproduced for my work environment. Are you able to use these shortcuts in other programs? Make sure you don't have system-level conflicts.
Try using the latest IDE version from https://www.jetbrains.com/idea/download and temporarily disable all third-party plugins.
If the problem remains please provide the IDE logs after restarting and reproducing the problem. (Help | Collect Logs and Diagnostic Data)
The files can be uploaded at https://uploads.jetbrains.com (do not forget to specify the UploadID)
well I could bind them in the first place, so the IDE does indeed receive 'em :) Using latest version, I'll disable the plugins when I have another issue to report.
BTW it's usually the first-party plugins that cause grief and problems (noticed me mentioning a settings loss? ;D) J/K, I've been jetbrains biggest fan since before PHPStorm 1.0 :))
Why can't I just focus on the dropdown by pressing tab/shift+tab key some number of times? Very fewer shortcuts will be left if we have to assign shortcuts for small things like dropdown in search dialog.
Or maybe provide a way to activate dropdown with some letter after I press and hold the alt key.
It's Alt+Down shortcut
Hover over the icon to refresh your memory:
Nadia Tarashkevich Thanks I have already set the shortcut, and I am using that. But I don't find it convenient. I have already invoked find dialog, to find next match and previous match, I can press enter/shift+enter. If I press down arrow key, then also it moves to next match. This is just a wasted key, instead it could have shown search history on just pressing the arrow key.
This is how it works in VS Code. I am using VS Code shortcuts in Intellij. Search history is scrolled only when find popup/modal is active and I press the up/down arrow key. If the find popup/modal is not active, then as you might have guessed, pressing arrow keys will just move the cursor across the lines.
Thank you for the clarification.
1. Please customize shortcut “Other | Show search history” , and add arrow down to it
I will also modify the defaults for VS Code keymap, please follow the IJPL-158133 updates
It is nice that you have logged IJPL-158133. Thanks!
For the time being, I have set ctrl+k chorded to ctrl+h as the shortcut. I can't assign down arrow as a shortcut as it would be a global shortcut. I want it to be active only when the find search bar/popup is shown. Furthermore, I think in IntelliJ, we don't have the ability to make some shortcuts applicable only when certain conditions are met, like “When” as shown in the below screenshot of VS Code keyboard setting. So I think this has to be provided out of the box.