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

Add Jump To Problems In The Current File as a VSCode TIL

This commit is contained in:
jbranchaud
2024-10-12 10:35:52 -05:00
parent cc858382d8
commit aa00c55b06
2 changed files with 20 additions and 1 deletions

View File

@@ -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.