的视图和控制器在Visual Studio之间快速变化的方法 - ASP.NET MVC [英] Method of quickly changing between view and controller in visual studio - ASP.NET MVC

查看:151
本文介绍了的视图和控制器在Visual Studio之间快速变化的方法 - ASP.NET MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有的开发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 然后<大骨节病>控制 - <大骨节病G

Answering my own question Yes there is. There appears to be a default shortcut key Ctrl-M then Ctrl-G.

这会自动在两者之间切换。
如果你在控制器/动作就会切换到视图,反之亦然。

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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆