Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Generic GotoNew to Visual Studio Code? Get it now.
Generic Goto

Generic Goto

ilmaria

|
839 installs
| (0) | Free
Go to definition, open file, open link, etc.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Generic Goto

One command to do multiple context sensitive actions. Inspired by Plan9 plumber.

Features

  • go to definition
  • open link
  • execute commands on terminal
  • open file (TODO)

Usage

By default "Generic Goto" uses ctrl+shift+alt+F12 keybinding that is unlikely to conflict with any other keybinding. I also use an AutoHotkey script that binds right mouse click to this keybinding.

#IfWinActive, ahk_exe Code.exe

    ; Send special key by chording left and right mouse buttons
    ~LButton & RButton::Send !^+{F12}

    ; Just right clicking first clicks and then sends special key
    RButton::
        Send {Click}
        Send !^+{F12}
        return

    ; Ctrl + right click does normal right click
    ^RButton::Send {Click, right}

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