Go to Line in VS Code

From the VS Code Shortcuts cheat sheet Ā· Navigation Ā· verified Jul 2026

Go to Line

Jump to specific line number

text
Ctrl+G (Windows)
⌃+G (Mac)
šŸ’” Enter line number to jump directly
⚔ Shows current line position
šŸ” Useful for debugging and error messages
navigation

Continue with VS Code Shortcuts

Save the full cheat sheet or work through every related task.

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet