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

前端 未结 4 681
野性不改
野性不改 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:15

    I was having similar issue Untitled.code-workspace file being created as I just close my laptop and never properly close Vs code. I would delete them manually but somehow Git was still tracking these files whenever I push my code to the branch.

    In any case we want to stop these files from being generated for that purpose follow the steps below:

    Go to code -> preferences -> settings -> under commonly used -> Files:Exclude -> Add Pattern -> **/.code-workspace

    that would disable the prompt and no such files would be created again.

    #disable-vscode-prompt #untitled.code-workspace #disable #autosave #vscode-workspace-disable #workspace #vscode-workspace

提交回复
热议问题