Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Go to ErrorNew to Visual Studio Code? Get it now.
Go to Error

Go to Error

Mark Skelton

|
1 install
| (0) | Free
Jump to the next or previous error in the current file, or the next warning if there are no errors
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go to Error

Jump to the next or previous error in the current file. If the file has no errors, jump to the next or previous warning instead.

Features

  • Navigate to the next or previous problem in the current file
  • Prefers errors over warnings: if any errors exist, only errors are visited
  • Falls back to warnings when the file has no errors
  • Ignores info and hint diagnostics
  • Wraps around within the current file

Usage

Command Palette

  1. Open the Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux)
  2. Run Go to Next Error or Go to Previous Error

Custom Keybindings

To replace VS Code's default F8 / Shift+F8 problem navigation, add the following to keybindings.json:

{
  "key": "f8",
  "command": "-editor.action.marker.nextInFiles",
  "when": "editorFocus"
},
{
  "key": "f8",
  "command": "go-to-error.next",
  "when": "editorFocus"
},
{
  "key": "shift+f8",
  "command": "-editor.action.marker.prevInFiles",
  "when": "editorFocus"
},
{
  "key": "shift+f8",
  "command": "go-to-error.prev",
  "when": "editorFocus"
}

Installation

From VSIX file

  1. Download the .vsix file
  2. Install via Command Palette: "Extensions: Install from VSIX..."
  3. Or use CLI: code --install-extension go-to-error-1.0.0.vsix

Development

  1. Clone this repository
  2. Run npm install
  3. Press F5 to launch the Extension Development Host
  4. Test the extension in the new VS Code window
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft