You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[API] Provide Virtual Document in window.visibleEditors or similar #6941
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.
It is also needed for extracting the markdown extension if full functionality is desired to be retained.
My extensions are very similar to the markdown one, but for previewing RST and HTML files.
An option could be to provide an array called visiblePanels (or similar) which is a superset of visibleEditors
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.
Activity
jrieken commentedon May 30, 2016
Thomas Townsend (@tht13) You mean the view that shows when running
previewHtml, right?tht13 commentedon May 30, 2016
Johannes Rieken (@jrieken) yup that's the one
jrieken commentedon May 30, 2016
It's hard... Needs thinking.
tht13 commentedon May 30, 2016
It is also needed for extracting the markdown extension if full functionality is desired to be retained.
My extensions are very similar to the markdown one, but for previewing RST and HTML files.
An option could be to provide an array called visiblePanels (or similar) which is a superset of visibleEditors
jrieken commentedon Nov 17, 2017
/duplicate of #15178
vscodebot commentedon Nov 17, 2017
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!