Method of quickly changing between view and controller in visual studio - ASP.NET MVC

自作多情 提交于 2019-12-03 12:02:51

问题


Is there a way of quickly switching between controllers and views in Visual Studio when developing ASP.NET MVC applications?

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.


回答1:


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.




回答2:


Right click on the action -> go to view



来源:https://stackoverflow.com/questions/17990356/method-of-quickly-changing-between-view-and-controller-in-visual-studio-asp-ne

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!