Microsoft/vscode

Restore all windows when closing them all at once

开放

#134,336 创建于 2021年10月2日

 (14 条评论) (7 个反应) (1 位负责人)TypeScript (39,847 个派生)batch import
feature-requesthelp wantedlinuxwindowsworkbench-window

仓库指标

星标
 (184,936 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.60.2
  • OS Version: Ubuntu 21.04 / Gnome

Steps to Reproduce:

  1. Open two windows (optional : open folder/files, do some modifications and save them), then click on "Quit 2 Windows" to quit VS Code :

Screenshot

  1. Open VS Code again : only the last active window is reopened (no matter what value is set in window.restoreWindows)

However, if VS Code is closed by another mean (like pkill code), on the second launch all windows are correctly restored. What is causing this behaviour, and how to fix it ?

贡献者指南