1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00

Add Step Through Project-Wide Search Results as a VS Code TIL

This commit is contained in:
jbranchaud
2024-02-01 14:37:24 -06:00
parent f6882f9fec
commit 8100432fad
2 changed files with 19 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186).
_1365 TILs and counting..._
_1366 TILs and counting..._
---
@@ -1568,6 +1568,7 @@ _1365 TILs and counting..._
- [Advance Through Search Results](vscode/advance-through-search-results.md)
- [Enable Breadcrumbs For Version 1.26 Release](vscode/enable-breadcrumbs-for-version-126-release.md)
- [Open An Integrated Terminal Window](vscode/open-an-integrated-terminal-window.md)
- [Step Through Project-Wide Search Results](vscode/step-through-project-wide-search-results.md)
- [Toggle Between Terminals](vscode/toggle-between-terminals.md)
### Webpack

View File

@@ -0,0 +1,17 @@
# Step Through Project-Wide Search Results
When you do a project-wide search in VS Code, the Search tray opens and
displays a listing of all the matches file-by-file. This view is handy to
glance at the results and quickly navigate to a specific one. If you need to
look at every single result, clicking through them one by one is slow and
tedious.
A better option for doing this is to use the keybindings for stepping forward
and backward through the results.
Hitting `F4` will go to the next match in the search results. Hitting
`shift+F4` will go to the previous match. Even if you move around, make edits,
and navigate to other files, your position in the search results will be
preserved for the next time you hit `F4`.
[source](https://github.com/Microsoft/vscode/pull/18073)