Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio - Open Recent in a new Window

Tags:

Is there any setting in Visual Studio such that when I do "open recent" it always open in a new window. Right now it just opens it in the same window.

like image 297
Knows Not Much Avatar asked Feb 20 '18 21:02

Knows Not Much


People also ask

How do I open multiple Visual Studio codes?

If you are using Windows, just hit Ctrl + Shift + N. If you are on a Mac, just press Command + Shift + N.

How do I add a new tab in Visual Studio?

Right-click on the tab control and select properties. You can see the tab page called "Collection Editor". To add an additional tab, please click the add button. To remove a tab, select it and click remove.


2 Answers

// Controls if files should open in a new window. // - default: files will open in the window with the files' folder open or the last active window unless opened via the dock or from finder (macOS only)
// - on: files will open in a new window // - off: files will open in the window with the files' folder open or the last active window
// Note that there can still be cases where this setting is ignored (e.g. when using the -new-window or -reuse-window command line option).

 "window.openFilesInNewWindow": "on",

// Controls if folders should open in a new window or replace the last active window. // - default: folders will open in a new window unless a folder is picked from within the application (e.g. via the File menu) // - on: folders will open in a new window // - off: folders will replace the last active window // Note that there can still be cases where this setting is ignored (e.g. when using the -new-window or -reuse-window command line option).

  "window.openFoldersInNewWindow": "on",

Those should do the trick. In your settings.json.

like image 87
Mark Avatar answered Oct 15 '22 10:10

Mark


Hold down Control before selecting if you don't wanna change the default settings.

like image 29
Ali80 Avatar answered Oct 15 '22 11:10

Ali80