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

"code" command-line utility isn't restoring the previous session #87555

Closed
BrendanMartin opened this issue Dec 22, 2019 · 3 comments
Closed

"code" command-line utility isn't restoring the previous session #87555

BrendanMartin opened this issue Dec 22, 2019 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@BrendanMartin
Copy link

  • VSCode Version: 1.41.1
  • OS Version: Windows 10

When I'm done for the day I just shutdown without closing code and let Windows shutdown close everything for me. The next day I'll run start /B "" code path/to/my/project as part of a batch file and vscode will open my directory, but won't have any of my previous tabs open.

Steps to Reproduce:

  1. Open folder in VSCode using start /B "" code path/to/my/project. Open tabs and use normally.
  2. Shutdown computer without manually closing VSCode. Let Windows shutdown process close VSCode.
  3. Restart computer
  4. Reopen folder in VSCode using start /B "" code path/to/my/project. Previous session tabs are not restored.

I've checked similar issues to this and have set Hot Exit to onExitAndWindowClose, but the problem still occurs.

@brlebtag
Copy link

Please remove it immediately and make it your top priority. To me this is almost equally offensive as a swastika.

@mrconter1

This comment has been minimized.

@bpasero
Copy link
Member

bpasero commented Dec 27, 2019

/duplicate #12058

@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 27, 2019
@vscodebot
Copy link

vscodebot bot commented Dec 27, 2019

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 Dec 27, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 14, 2020
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

5 participants