Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
SCM: Clicking 'Open File' leaves Preview Tab in background #72032
Preview tab is left in the background (VSCode should never be able to have a preview tab in the background, it fundamentally defeats the purpose of the preview tab). A copy of the same file is opened in another tab. This leaves tab clutter.
I am no longer concerned with the diff, I want to work on the file. The preview tab should disappear and the editor tab (which is active) should replace it.
This is incorrect. Instead, the constant is: there should always only be one preview tab at any point in time. That preview tab can easily be next to a pinned tab. Just try it in the explorer: double click file A in the explorer, click file B in the explorer, then click A's tab above the editor. Preview tab of B will still be up there.
The current behavior is correct, as it was reviewed by other users: