Jump directly to a line number in the current file.

Section: Getting Around

Go to line

text
text
Windows/Linux: Ctrl+G
macOS: Ctrl+G

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Getting Around
Open Command Palette
Run any VS Code command quickly.
OpenIn sheettextsame section
Quick Open file
Jump to files, symbols, and recent items.
OpenIn sheettextsame section
Go to symbol in file
Jump to a function, class, or symbol in the current file.
OpenIn sheettextsame section
Show symbols in workspace
Search symbols across the workspace.
OpenIn sheettextsame section
Delete line
Remove the current line quickly.
OpenIn sheettext1 tag match
Insert line below
Open a new line below without moving manually.
OpenIn sheettext1 tag match