svenyonson
svenyonson

Reputation: 1909

vs code - always open a folder in a new window/workspace

I'm new to vs code, really impressed for the most part. One minor nit that I haven't found a solution for: with Sublime Text, and other editors, if you have an editor window already open, and do File->Open for a folder, it will open a new editor window for that folder.

With vs code, it adds the new folder to the existing window/workspace. Is there a setting to make it always open a new window? My current workaround is to first open a new window and then open the folder from that window. NBD, but a little tedious.

Upvotes: 4

Views: 2834

Answers (1)

Marius Šomka
Marius Šomka

Reputation: 216

If you go the settings (you can do that by pressing ctrl+shift+p and searching for "Preferences: open user settings"), go on and search for "window.openFoldersInNewWindow" setting. You can set it to on, so it would open the folder in a new windowenter image description here

Upvotes: 18

Related Questions