Reputation: 1104
In VS Code I'm missing the ability to re-run an earlier search. A hit in a search often leads me to quickly check out something else by doing a new search, but after that side-trip I want to be able to the return to the original search results. Is that feature hiding in plain sight, or if not is there an extension that provides it?
Upvotes: 7
Views: 7125
Reputation: 181100
Alt-Page up/down will work on Windows when the search panel input has focus to cycle through recent search terms. But they won't necessarily bring back the actual search results, but you don't have to re-enter the search terms anyway.
ADDED June, 2018:
As of v1.24 you can do the same for the replace terms:
Replace term history in Search view
You can now navigate to your previous replace terms in the Search View.
Alt+Up navigates backward in the history.
Corresponding command is
search.replaceHistory.showPrevious
.Alt+Down navigates forward in the history.
Corresponding command is
search.replaceHistory.showNext
.
From May, 2018 release notes: replace term history
Upvotes: 9