visual-studio-code - vscode 总是重新打开最后一个 session

标签 visual-studio-code

vscode (1.18) 总是重新打开上一个 session ,我已设置 "window.restoreWindows": "none"但似乎不起作用,我的设置:

{
    "window.menuBarVisibility": "toggle",
    "files.autoSave": "onFocusChange",
    "workbench.startupEditor": "none",
    "window.newWindowDimensions": "inherit",
    "editor.fontFamily": "Ubuntu mono",
    "editor.fontSize": 15,
    "workbench.editor.showTabs": true,
    "window.zoomLevel": 0,
    "explorer.openEditors.visible": 0,
    "workbench.iconTheme": "vscode-icons",
    "editor.wrappingIndent": "same",
    "editor.wordWrap": "on",
    "workbench.colorTheme": "Monokai",
    "window.restoreWindows": "none"
}

有什么想法吗?

最佳答案

“window.restoreWindows”:“none”应该有效。

除非您从右键单击上下文菜单中打开项目。

关于visual-studio-code - vscode 总是重新打开最后一个 session ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47212774/

相关文章:

python - 如何让 VScode 运行 python 2.7.13 而不是 python 3.6

linux - VSCode 多光标 Lubuntu

typescript - VSCode Typescript 版本和 linter 不起作用

typescript :在 VScode 中重命名字符串文字类型

java - 声明的包 ""与预期的包不匹配

json - VSCode json 模式文件匹配模式

c++ - Linux Manjaro 上的 Visual Studio 代码 C++ : IncludePath issue

ssl - 错误 : unable to verify the first certificate/How to trust all certificates?

javascript - 错误 :Property 'select' does not exist on type HTMLElement

c# - 使用 .Net6 Windows 10 在 Visual Studio Code for OmniSharp 上出错