Vscode: Allow to open a workspace without closing the current window

Created on 15 May 2020  Â·  8Comments  Â·  Source: microsoft/vscode

Issue Type: Feature Request

Currently, when opening a workspace (via Open Workspace… and Open Recent), it closes the current window and opens the workspace in a new window.
So currently, if I want to open several workspaces, I've to open a new window and then opening the workspace.

I doesn't seem to be a bug so I guess it's a "feature" :wink:
So please add a preferences setting to change that behavior.

The behavior is not the same when opening a workspace from the command line (code xxx.code-workspace). In that case, it opens the workspace in a new window, leaving all the other windows open.

VS Code version: Code - Insiders 1.46.0-insider (e1d8f5155c0db5ffdc130c9aa0f14efac02dfdfb, 2020-05-13T20:32:52.338Z)
OS version: Darwin x64 19.4.0

Most helpful comment

Configurable via "window.openFoldersInNewWindow": "on"

All 8 comments

I'm not sure this is related, but until the last update I was able to open a recent folder/workspace in a new window by holding Shift.

  • It has stopped working for me on Windows in v. 1.45.1.
  • It still works for me on Linux (v. 1.45.0).

@RandomShaper thanks but not working on Mac v1.45.1.

Configurable via "window.openFoldersInNewWindow": "on"

So is it a bug of the current release? Holding shift works in previous builds, and it was really convenient. Why is this issue closed?

Configurable via "window.openFoldersInNewWindow": "on"

Thanks you so much!! I thought this functionality had been removed. You should leave it on by default.

But with that, it always blindly opens a new window, even if we're on a blank window 😕 (just saying but Atom handles that perfectly)

But with that, it always blindly opens a new window, even if we're on a blank window 😕 (just saying but Atom handles that perfectly)

Damn right. I hadn't noticed. That's too bad. How can I mimic behavior before these updates? I want to open the recent projects in a new tab just by pressing the ctrl key. When I click on it I usually want the project to open in the same window. What happened? Why did it change?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

curtw picture curtw  Â·  3Comments

trstringer picture trstringer  Â·  3Comments

biij5698 picture biij5698  Â·  3Comments

omidgolparvar picture omidgolparvar  Â·  3Comments

DovydasNavickas picture DovydasNavickas  Â·  3Comments