vscode-language-review
vscode-language-review copied to clipboard
Want to close preview window automatically when source document is closed
As title.
Hmm, it does not seem to be simple.
This extension opens the preview HTML tab using so-called "complex command" [*1] i.e. everything is handled inside VSCode. There should be any means to close the opened edit window, but I cannot find any relevant commands or workspace/window property for that. It needs investigation and/or changes to VSCode itself.
[*1] https://code.visualstudio.com/docs/extensionAPI/vscode-api-commands
I can understand how it's difficult :) Feel free to close this as by design of VSCode. Thanks!
So far I'd leave it open so that we can track the problem and possible future solution. There is no pressure to close every single issue so far ;-)