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
Expose in the API whether Zen Mode is enabled #89278
Comments
(Experimental duplicate detection) |
Might be related: #10471 There's a when context |
I'm not sue if it is related, but it looks interesting too. Would the 10471 give extensions acess to check if VSC is in Zen Mode? Is ZenMode status stored in context |
This is a fair feature request. HOwever we do not currently have it on the plan, thus assignig to the backlog. |
@isidorn Are you open for a PR that implements an undocumented I'm working on a shortcut visualizer for VS Code keybindings. Being able to evaluate whether the context of a keybinding is active would make the visualizer much more helpful. There are too many keybindings for a single key to output all commands for a key. There are also too many contexts for a manual selection. I imagine this tool to run on my second monitor, displaying all keybindings that are currently active while considering already pressed modifier keys. |
@hediet this is unrelated to this issue. I believe there is already a feature request for the |
@isidorn as far as I understood, an API for #10471 is in discussion since 2016 with no real progress. My own issue regarding a setContext API was flagged as duplicate about a year ago (#77630). I thought this issue could add some momentum to it. |
Got it. This issue is a small subset of that, and I would tackle it independtly (if we ever decide to do it). Thanks |
I think it would be great if extension developers had a way in the API to find out if Zen Mode is currently enabled, or add an event that fires when Zen Mode is toggled.
The text was updated successfully, but these errors were encountered: