LSP: Go to Definition in Split

lsp.gotoDefinitionInSplit

Open the definition of the symbol at the cursor in a split beside the current file, so the call and the thing called are on screen together.

How to run it

Open the command palette (M-x in the Emacs keymap) and search for LSP: Go to Definition in Split, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.

See also