visual-studio-code - vscode : Go to definition in other editor pane

标签 visual-studio-code vscode-settings

如果我转到某个函数的定义,并且该文件已在同一编辑器 Pane 的另一个选项卡中打开,则该定义将显示在那里。
但是,如果该文件在另一个编辑器分屏 Pane 中打开,则该文件将在原始编辑器中再次打开。

有可能改变这种行为吗?特别是,如果包含定义的文件在两个 Pane 中都打开(比如当函数的定义在我调用 Go to definition 的同一个文件中时),是否有可能在另一个编辑器中跳转到该定义?

最佳答案

我相信你在描述 this issue

应该在 VS Code 1.26+ 中修复(也就是当前的 VS Code 内部人员构建)

关于visual-studio-code - vscode : Go to definition in other editor pane,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51279506/

相关文章:

typescript - 如何在 VS Code 上使用 typescript 调试 feathersjs?

visual-studio-code - vscode-spotify NO_ACTIVE_DEVICE

bash - Visual Studio Code 未使用 'code' 命令打开

visual-studio-code - Visual Studio代码,从 "go to file"选项(ctrl + p)中排除目录

visual-studio-code - 如何选择 Visual Studio 代码中的所有文本?

python - VSCode "Python: Select interpreter"添加自定义路径

visual-studio-code - 如何在 Visual Studio 代码中显示完整的长行(自动换行)

editor - 在 Visual Studio Code 中设置语法突出显示的语言

c# - 如何在 Visual Studio Code 中的 C# 函数声明括号中设置自动前导/尾随空格?

javascript - Visual Studio Code 自动完成/IntelliSense 不适用于 JavaScript