Microsoft/vscode

Go to definition opens another code editor if custom editor is opened

Open

#215,589 opened on Jun 14, 2024

View on GitHub
 (0 comments) (0 reactions) (1 assignee)TypeScript (10,221 forks)batch import
bugcustom-editorshelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

Type: Bug

Conext: I have my language server implemented, which reacts to textDocument/definition. It works great for code editors.

Issue description: If I "go to definition" of a variable expression it's opening up a new code editor of the file that I already have open... It is happening in my default setup of having split screen of code editor and custom editor for the same file.

VS Code version: Code 1.90.1 (Universal) (611f9bfce64f25108829dd295f54a6894e87339d, 2024-06-11T21:02:41.372Z) OS version: Darwin arm64 22.6.0

Contributor guide