If I go to a definition of a function and the file is already open in another tab in the same editor pane, the definition will be shown there. However, if the file is open in another editor split screen pane, the file will be opened again in the original editor.
Is it possible to change that behavior? Especially, if the file containing the definition is open in both panes (like when the definition of the function is in the same file where I call Go to definition
), is there the possibility to jump to that definition in the other editor?
This is already a setting in version 1.35.1. Look for "Reveal If Open" in Settings (Workbench › Editor: Reveal If Open
)
I believe that you are describing this issue
Should be fixed in VS Code 1.26+ (aka, the current VS Code insiders build)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With