From aa00c55b064ddd06850286394a28d475db87323e Mon Sep 17 00:00:00 2001 From: jbranchaud Date: Sat, 12 Oct 2024 10:35:52 -0500 Subject: [PATCH] Add Jump To Problems In The Current File as a VSCode TIL --- README.md | 3 ++- vscode/jump-to-problems-in-the-current-file.md | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 vscode/jump-to-problems-in-the-current-file.md diff --git a/README.md b/README.md index d7fbc6c..208869f 100644 --- a/README.md +++ b/README.md @@ -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). -_1461 TILs and counting..._ +_1462 TILs and counting..._ --- @@ -1671,6 +1671,7 @@ _1461 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) - [Find The Location Of User Settings JSON File](vscode/find-the-location-of-user-settings-json-file.md) +- [Jump To Problems In The Current File](vscode/jump-to-problems-in-the-current-file.md) - [Open An Integrated Terminal Window](vscode/open-an-integrated-terminal-window.md) - [Pop Open The Quick Fix Window](vscode/pop-open-the-quick-fix-window.md) - [Step Through Project-Wide Search Results](vscode/step-through-project-wide-search-results.md) diff --git a/vscode/jump-to-problems-in-the-current-file.md b/vscode/jump-to-problems-in-the-current-file.md new file mode 100644 index 0000000..2db5102 --- /dev/null +++ b/vscode/jump-to-problems-in-the-current-file.md @@ -0,0 +1,18 @@ +# Jump To Problems In The Current File + +VSCode has a system for different extensions to report problems. The editor +will visually flag those problems in the editor with a red squiggly underline. +It will also list them in the _Problems_ tab of the bottom tray (hit `Cmd+j` to +pop that tray open). + +If there are some active problems in your current file, you can jump right to +them. + +Hit `F8` and you'll jump to the next problem after wherever the cursor is. Hit +`F8` again and it will go to the next one. + +Want to track back through the file? Hit `Shift+F8` and you'll jump to the +closest problem _behind_ the current cursor position. + +Using these two, you can quickly survey the current problems in your file +before deciding how to proceed.