问题描述
有没有的开发ASP.NET MVC应用程序时,控制器和视图在Visual Studio之间进行快速切换的方式?
Is there a way of quickly switching between controllers and views in Visual Studio when developing ASP.NET MVC applications?
我发现,在Solution Explorer已经迅速由于这是在那里的文件的数量变得很难通过简单的导航。
I find that the solution explorer has quickly become very difficult to navigate through simply due to the quantity of files that is in there.
推荐答案
回答我的问题
就在这里。似乎有一个默认的快捷键
控制骨节病> - M 骨节病>然后控制骨节病> -
Answering my own questionYes there is. There appears to be a default shortcut key- then -.
这会自动在两者之间切换。
如果你在控制器/动作就会切换到视图,反之亦然。
This will automatically switch between the two.If you're on the controller/action it will switch to the view and vice versa.
这篇关于的视图和控制器在Visual Studio之间快速变化的方法 - ASP.NET MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!