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

Two instances of vscode are opened, when opening multi root folders from the command line #39181

Closed
MofX opened this issue Nov 27, 2017 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) info-needed Issue requires more information from poster workbench-multiroot Multi-root (multiple folders) issues

Comments

@MofX
Copy link

MofX commented Nov 27, 2017

  • VSCode Version: Code 1.18.1 (929bacb, 2017-11-16T18:32:36.023Z)
  • OS Version: Windows_NT x64 6.1.7601
  • Extensions: Extensions are disabled

Steps to Reproduce:
Run code with "code c:\ c:\windows"

Sometimes it opens just one instance of code, sometimes it opens two instances

@bpasero
Copy link
Member

bpasero commented Nov 27, 2017

@MofX if you open multiple folders from the command line like that we will automatically turn the window into an "Untitled Workspace" that will only go away if you close the window (then you get prompted to either save the workspace or not). It looks like in your case you always have the previous untitled workspace restoring, could that be true?

@bpasero bpasero added workbench-multiroot Multi-root (multiple folders) issues info-needed Issue requires more information from poster and removed workbench labels Nov 27, 2017
@MofX
Copy link
Author

MofX commented Nov 27, 2017

Actually yes, this could be true. But what if I don't want to save the workspace? I just want to start code with a bunch of root folders (source folders that are combined by an installer when the product is shipped). I pass the folders to code on the command line, because the selected folders depend on the configuration.

Is there a switch to create a "throwaway workspace" or something like that?

@bpasero
Copy link
Member

bpasero commented Nov 28, 2017

Currently not. Duplicate of #30972

@bpasero bpasero closed this as completed Nov 28, 2017
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 28, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 12, 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) info-needed Issue requires more information from poster workbench-multiroot Multi-root (multiple folders) issues
Projects
None yet
Development

No branches or pull requests

2 participants