Reputation: 1897
Does anyone know if there is a command I can add a shortcut for adding a new MVC View (.cshtml) in VS 2013?
Upvotes: 0
Views: 3503
Reputation: 156
None out the box but if you go to Tools->Options->Environment->Keyboard and search for add.view you can create your own keyboard shortcut.
Upvotes: 1
Reputation: 15933
There is an option of Add View
in the context menu , when you right click an action inside a controller which is a nice shortcut by itself. You can also make use of Scaffolding
and generate the view automatically.
Upvotes: 1