atsushieno / vscode-language-review

Re:VIEW language Support for Visual Studio Code. / issue/PRは日本語でも対応できます
Other
43 stars 8 forks source link

Want to close preview window automatically when source document is closed #5

Open yukitos opened 7 years ago

yukitos commented 7 years ago

As title.

atsushieno commented 7 years ago

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

yukitos commented 7 years ago

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

atsushieno commented 7 years ago

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