583 B
583 B
Use F7 to toggle between a Razor Page the PageModel
To enable F7 toggling between a Razor Page (*.cshtml file) and the C# file (*.cshtml.cs):
- Select Tools > Options > Environment > Keyboard
- Enter ToggleRazorView in Show commands containing.
- Select EditorContextMenus.CodeWindow.ToggleRazorView
- In the Press shorcut keys entry box, press F7.
- Select Assign > OK