Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Developing for ASP.Net MVC, Visual Studio tab names are meaningless

For all Visual Studio ASP.Net MVC developers - I'm sure you've faced this problem before:

enter image description here

In each one of my controllers, there is usually an Index, Create, Edit and Detail views. All of the default view files generated by ASP.Net's scaffolding are all given the same name, for example: index.cshtml. Granted, they're in different folders.

So it's really easy to get lost in Visual Studio when you have four or five tabs open, all with the same name! Is there a way/plugin to get visual studio show me something more meaningful, such as the controller name/view folder? Or do you developers just rename all of your files once they're generated? I already have resharper so bonus points if it's possible with that.

like image 901
David Avatar asked Oct 02 '15 14:10

David


1 Answers

FYI If you just hover over the tab, it tells you what View/Folder it is in. That's one way to differentiate between the different tabs.

like image 86
coggicc Avatar answered Sep 29 '22 10:09

coggicc