I use VSCode in Mac system.
I know that we could use command+shift+F
to search a word in a project. Is there a quick shortcut to go to the search result panel so that we could navigate through the results by up and down?
I found it. After searching by command+shift+F
, typing command+downarrow
sets the focus on the first element found. Then we could use up arrow
and down arrow
to navigate.
search.action.focusNextSearchResult
in Open Keyboard Shortcuts
in the Preferences.
Key Bindings for Visual Studio Code says that F4 and ShiftF4 can be used to focus inside the search results:
F4
and Shift+F4
, we could indeed go through all the search results. But I would prefer a shortcut to move the focus to the search result panel so that we could navigate search results by up
and down
arrows.
Commented
Feb 18, 2020 at 15:40