Extensions: Query UI State #23122
Labels
api
feature-request
Request for new features or functionality
*out-of-scope
Posted issue is not in scope of VS Code
Extensions need to be able to query the UI State. Is the sidebar open, which viewlet is visible, are there multiple editor columns, in the bottom section is the terminal, output, or problem viewer active, etc.
For example, I have a small Auto-Collapse Explorer extension that I'd like to publish that needs this functionality.
When the active editor changes, the extension collapses the explorer and then focuses the active editor.
This should only happen if:
As the sidebar opens up to more viewlets (different SCM views, extension provided viewlets, etc.) this will become even more useful to extension developers.
The text was updated successfully, but these errors were encountered: