I often use split view in Visual Studio Code, e.g., showing a C++ header file in the left view and the associated source file in the right view. What I often do is use the command Go to Definition
(default key binding F12) in the header file (which is open in the left view). And then Visual Studio Code goes on to open the definition in the left view, so that the associated source file is now open in both, the left and the right view.
What I would like Visual Studio Code to do instead is to select the definition in the right view, where the source file is already opened. How to configure Visual Studio Code to do that?
I would like Visual Studio Code to act in the same manner as Visual Studio does, which shows exactly the behavior I would like to see, namely selecting the already opened source file and jumping to the definition there, instead of opening the same file twice in different views.