Using the latest, released version of VSCode, at the time of this writing (2018-Jan-29; version 1.19.3), I see the following behavior (which is unnecessarily time-consuming, for
I have updated my extension to quit vscode when all editors are closed
https://marketplace.visualstudio.com/items?itemName=Hai.AlwaysOpenWorkspace
The trick is to call vscode.commands.executeCommand('workbench.action.quit');
when all editors are closed.
workbench.action.quit
will quit vscode without any prompts