glenn2223/vscode-live-sass-compiler

[Feature request] Close output window on successful compile

javl opened this issue · 1 comments

javl commented

I've been using this plugin for a while now and it is great. Especially with the show output window on set to warning so the window only appears when something goes wrong, alerting you of the problem.

But I was wondering: would it be possible to implement the opposite? An option that allows you to HIDE the output when compilation succeeds?

Currently when you make a typo the output will appear to tell you something is wrong. You fix the error and then have to manually close the output again with this fiddly little x icon in the corner (unless I'm missing a shortcut).

It would be great if you could fix and save the code, triggering a new compile which, if succeeded, will close the output again.

So, it is definitely possible. There's a hide method that can be called.

There are a couple of details I want to hash out - to make sure I'm getting the expectations 100% correct - so, for now, I'll change this from an "issue" to a "discussion".


Ref (for me later): https://code.visualstudio.com/api/references/vscode-api#1783