Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you deal with multiple open files of the same name in VisualStudio?

Anyone know of anything in VisualStudio to make your life easier when you have a bunch of files open that are named the same thing? Pretty often I'll have a bunch of files open with the same name and I don't know of any way distinguish them so I just have to go through the solution explorer. Is there a setting to add hover text for the full path on this stupid thing?

alt text http://img518.imageshack.us/img518/2094/91544289.png

This isn't quite the same question as Visual Studio - tips for managing work on many open files

I know ctrl-tab gives the full path, but it is still a little cumbersome as you have to arrow around to see the full path, and when there are lots of files open it isn't really any faster than using solution explorer.

like image 437
JeremyWeir Avatar asked Apr 24 '09 17:04

JeremyWeir


1 Answers

I mouse over the tab and it shows me the file directory.

Also since you are using Resharper you can use this keyboard shortcut and it will highlight the file in solution explorer.

Alt+Shift+L

Since you are using Resharper you can use its navigation instead of Visual Studio's. In this example you are looking for Default.aspx

Ctrl+Shift+N

That shortcut will bring up its file search screen. Type "Def" and pick the one based on which folder you want.

like image 173
Brendan Enrick Avatar answered Oct 03 '22 11:10

Brendan Enrick