-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
[API] Provide Virtual Document in window.visibleEditors or similar #6941
Comments
@tht13 You mean the view that shows when running |
@jrieken yup that's the one |
It's hard... Needs thinking. |
It is also needed for extracting the markdown extension if full functionality is desired to be retained. An option could be to provide an array called visiblePanels (or similar) which is a superset of visibleEditors |
/duplicate of #15178 |
This issue has been closed because it is already tracked by another issue. See also our GitHub issues to search for existing issues and our issue reporting guidelines. Happy Coding! |
I know window.visibleEditors is supposed to contain actual text editors but it is not possible to tell at the moment if a VirtualDocument (ie a htmlContentProvider) is in view.
The scenario I would need this for is for detecting if a Virtual Document has focus when a command is triggered. If there is another work around for this please let me know.
Thanks 😄
The text was updated successfully, but these errors were encountered: