-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
toggle in/out of zen mode with settings.json file changes active editor #16616
Comments
As designed. On explorer open we always open the revealed file - there is a setting for this 'explorer.autoReveal'. So you can get the same behavior if instead of going in and out of zen mode you would show / hide the viewlet. Though I do agree that your scenario is not nice. But the key problem here is that explorer.autoReveal does not make much sense when an editor is open in preview. Though this is up to ben to decide how to tackle this. |
This is a consequence of the explorer restoring the last active file when you open it. Another example where we do this is when you jump from Git viewlet back to the explorer we close the diff editor that you likely have open and bring back the file you last worked on. In that scenario I like the flow, however in the described scenario it is not very nice. Btw the same happens when you open a markdown as preview, close all other editors and hide and show the explorer. The last file you had open restores. One way to probably fix this is by only restoring the file if it is still open in the editor group. |
The explorer is now treating the settings and keybindings in the same way as a normal file, so this bug as reported is fixed. |
LGTM |
@chrisdias feel free to add a verified label :) |
@isidorn sorry, added. |
Testing #15647
Steps to Reproduce:
Result: the last file you had open, before opening the settings file, is now in view. In other words, the settings file is no longer visible. Only seems to happen with settings.json
The text was updated successfully, but these errors were encountered: