Microsoft/vscode

Restore all windows when closing them all at once

Open

#134.336 geöffnet am 2. Okt. 2021

Auf GitHub ansehen
 (14 Kommentare) (7 Reaktionen) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
feature-requesthelp wantedlinuxwindowsworkbench-window

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

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 ?

Contributor Guide