Description
Steps to Reproduce:
- configure
workbench.editor.revealIfOpen: true
- open multiple editor groups
- open some editors in one group and others in the other group
- focus the first editor group
- click on a file in the other group via explorer that is currently active in that other group
=> 🐛 there is no visual indicator that something happened because we do not activate that other group
A fix would be to always ensure we activate a group of the editor we want to open. The only one exception is when opening an editor to the side. For historic reasons we do not activate the editor group in that case if preserveFocus: true
.
//cc @eamodio since you complained about this in #24717 it seems, but only limited to search. You should see this issue in all kinds of cases where we open an editor and I think this new behaviour is better, let me know otherwise.