Anth12
Anth12

Reputation: 1897

Visual Studio new MVC View shortcut

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

Answers (2)

BDH
BDH

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

Tushar Gupta
Tushar Gupta

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.

enter image description here

Upvotes: 1

Related Questions