Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code opens files from previous settings regardless of the restoreWindows setting #54879

Closed
Dyoung0606 opened this issue Jul 23, 2018 · 4 comments
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@Dyoung0606
Copy link

  • VSCode Version: 1.25.1
  • OS Version :Microsoft Windows [Version 10.0.14393]

Steps to Reproduce:

  1. From a command prompt, type "code (some folder)"
    (without the quotes)
  2. Update user settings to include:
    "window.restoreWindows": "none"
  3. Close VS Code
  4. From a command prompt, type "code (that same folder)"
    (without the quotes)

Expected Result:
VS Code launches with no files open in the editor tab

Actual Result:
VS Code launches with all files opened that were opened in the previous session.

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

@kieferrm
Copy link
Member

@Dyoung0606, you launch with code <someFolder>. In this case you explicitly tell code to open that folder and therefore it restores its state. You ask for a new behavior: starting a new blank session of a given workspace.

@kieferrm
Copy link
Member

/duplicate #22613

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 24, 2018
@vscodebot
Copy link

vscodebot bot commented Jul 24, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Jul 24, 2018
@Dyoung0606
Copy link
Author

I swear I did a search but that one did not come up. Thanks for the pointer.

@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants