[英]VSCode 'Go To Definition' opens new tab instead of using existing tab
[英]Problem: VSCode DefinitionProvider opens the same document every time in a new tab
對我來說可疑的是您的代碼中的這一行:
...
Uri.parse(doc.uri + '#' + item.name),
...
也許在原始文檔 URI 中添加一個片段會使 VS Code 認為每個定義都必須在單獨的編輯器中打開。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.