Disable VSCode prompt: “Do you want to save your workspace configuration”?

前端 未结 4 678
野性不改
野性不改 2021-02-07 23:42

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

4条回答
  •  北海茫月
    2021-02-08 00:05

    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

提交回复
热议问题