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?
Visual Studio Code allows us to check the history of navigated files in Navigation History lists. You can open this window from “Goto–> Navigation History” or by just simply pressing Ctrl + Tab. This will bring list of all previously navigated files with in Visual Studio Code.
When you have repository open in Visual Studio code, you can execute the command Git: View History (git log) from the command Plate. This will open the Git History Window with all change logs for the repository. You can then select individual commits for detailed change logs for each of them.
Viewing Kubernetes logs using kubectl To open the Log Viewer, open the command palette (press Ctrl / Cmd + Shift + P or click View > Command Palette) and then run Cloud Code: View Logs.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With