Chris Boylan
Chris Boylan

Reputation: 314

Is there a way to force Visual Studio to open files from explorer in the same window?

I am a designer that has to work on multiple files across multiple projects. I rarely have an entire solution open, and instead look for files I need to modify in Windows Explorer.

Is there a way to force any files opened from Windows Explorer via either double-click or right-click to open in a new tab in the existing window? Like, when I have to make a quick edit to 5 files, and I select them all and right click > open - it currently opens each in its own window instead of 5 tabs in one window, which I would prefer.

I see that there's a file explorer extension that allows me to browse the filesystem from inside VS, but I was hoping to just be able to do it from Explorer directly.

Upvotes: 3

Views: 3139

Answers (2)

Martijn B
Martijn B

Reputation: 4075

This is default behavior if you open the files with Visual Studio instead of Visual Studio Version Selector. You can change the open with value by going to the properties of a file.

Upvotes: 3

JohnD
JohnD

Reputation: 14747

Maybe this doesn't fit your needs, but if you multi-select the files in explorer, then drag-and-drop them into Visual Studio, it will open each file in a new tab.

Upvotes: 3

Related Questions