vscode-language-review icon indicating copy to clipboard operation
vscode-language-review copied to clipboard

Want to close preview window automatically when source document is closed

Open yukitos opened this issue 8 years ago • 3 comments

As title.

yukitos avatar Jan 07 '17 04:01 yukitos

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

atsushieno avatar Feb 10 '17 16:02 atsushieno

I can understand how it's difficult :) Feel free to close this as by design of VSCode. Thanks!

yukitos avatar Feb 11 '17 02:02 yukitos

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 ;-)

atsushieno avatar Feb 11 '17 06:02 atsushieno