-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)workbench-stateUI state across restartsUI state across restarts
Description
Issue Type: Bug
- Set "window.restoreWindows": "none" in settings
- Open folder, and open several files in that folder (unmodified)
- Quit VSCode
- Reopen VSCode and open the same folder.
The behavior I am seeing is that all of the files that were open in the previous session are reopened. The restoreWindows setting should have resulted in no files open when I opened the folder in a new session.
If this is the intended behavior, then it is confusing (none should mean none). In any case, there needs to a setting option to allow for this. I have no interest in seeing the all the files from the previous session cluttering up the editor.
VS Code version: Code 1.53.2 (622cb03, 2021-02-11T11:45:54.515Z)
OS version: Darwin x64 20.3.0
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 (8 x 2400) |
| GPU Status | 2d_canvas: enabled gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on protected_video_decode: unavailable_off rasterization: enabled skia_renderer: disabled_off_ok video_decode: enabled webgl: enabled webgl2: enabled |
| Load (avg) | 2, 4, 3 |
| Memory (System) | 16.00GB (0.08GB free) |
| Process Argv | . --crash-reporter-id 7dfc0449-544b-4fa5-917f-21b04190e4ed |
| Screen Reader | no |
| VM | 0% |
Extensions (20)
| Extension | Author (truncated) | Version |
|---|---|---|
| open-in-marked | fmo | 1.0.8 |
| codespaces | Git | 0.7.2 |
| vscode-pull-request-github | Git | 0.23.1 |
| language-julia-insider | jul | 1.1.31 |
| rainbow-csv | mec | 1.8.1 |
| mssql | ms- | 1.10.1 |
| gather | ms- | 2021.1.0 |
| python | ms- | 2021.2.582707922 |
| vscode-pylance | ms- | 2021.2.4 |
| jupyter | ms- | 2021.2.603412351 |
| remote-containers | ms- | 0.158.0 |
| remote-ssh | ms- | 0.64.0 |
| remote-ssh-edit | ms- | 0.64.0 |
| remote-wsl | ms- | 0.53.4 |
| vscode-remote-extensionpack | ms- | 0.20.0 |
| cpptools | ms- | 1.2.2 |
| material-icon-theme | PKi | 4.5.0 |
| character-count | ste | 0.1.1 |
| html-preview-vscode | tht | 0.2.5 |
| rmarkdown | Tia | 0.0.14 |
(1 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry244:30256636
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythontb:30260843
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)workbench-stateUI state across restartsUI state across restarts