Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Relative gotoNew to Visual Studio Code? Get it now.
Relative goto

Relative goto

Baksa Péter

|
2,499 installs
| (3) | Free
Goes to a line relative to the current line
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

relativegoto README

Goes to a line relative to the current line.

You will find a command in the context menu and the command palette. The default key binding is Ctrl-Alt-G, you can edit that at Preferences: Open Keyboard Shortcuts > Go to Line relative

future

I am thinking about adding absolute/relative goto switch to the input field.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft