This is a UX issue... I think that when you close a file in VS Code, the explorer should just stay where it is until a different file is selected in the tabs. Countless times, I have lost my place in ...
I noticed this when I had a draw.io diagram open: Now draw.io does actually have a dark theme I can switch to, but I could be looking at a jpeg of a diagram with white background and get the same ...