Ctrl+shift+f opens up the search all files sidebar in Visual Studio Code. But what are the shortcuts for navigating the search result? You can use the arrows in file explorer to navigate files in the but not for search results?
Visual code key shortcut navigate search sidebar?
Asked Answered
There is an unbound command search.action.focusSearchList
which will focus the search list and then the arrow keys work.
So set it to your chosen keybinding (in keybindings.json) like so:
{
"key": "alt+m",
"command": "search.action.focusSearchList"
},
or just click in the search list (changing focus to it) and then arrows work.
You could also try F4 and Shift+F4 which will open in a preview editor the next/previous search result.
I realized that you can press tab 5 times until the searchlist gets focus and then use the arrows :) –
Democratic
© 2022 - 2025 — McMap. All rights reserved.