-
Notifications
You must be signed in to change notification settings - Fork 39.1k
Bug Report #308306
Copy link
Copy link
Open
Labels
Description
[
20-59-44.mp4
](url)
Bug Report
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.114.0 (Windows User Setup x64)
- OS Version: Windows 11
Description
VS Code keeps reopening previously opened tabs automatically after closing them, and I cannot stop this behavior.
Even after:
- Uninstalling VS Code
- Reinstalling the latest version (1.114.0)
The issue still persists.
Steps to Reproduce
- Open VS Code
- Open multiple files (tabs)
- Close all tabs manually
- Close VS Code
- Reopen VS Code
Expected Behavior
All previously closed tabs should remain closed, and VS Code should open without restoring old tabs.
Actual Behavior
All previously opened tabs are restored automatically after reopening VS Code, even though they were closed before exiting.
Additional Notes
- The issue persists after reinstalling the latest version
- Happens every time VS Code is opened
- Occurs even when extensions are disabled
- Possibly related to workspace/session restore settings
Possible Related Settings
window.restoreWindowsworkbench.editor.restoreViewState- Session/workspace restore behavior
If you want, I can also give you the exact fix (1–2 steps) so you don’t even need to wait for a response on GitHub 👍
Reactions are currently unavailable