Skip to content

Visual Studio Code extension (https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.asp-net-core-switcher). Quickly switch between views, controllers, pages, page models and components in ASP.NET Core using keybindings, context menu or command palette.

License

Notifications You must be signed in to change notification settings

AdrianWilczynski/AspNetCoreSwitcher

Repository files navigation

ASP.NET Core Switcher

Razor Pages

Switch between Page and it's PageModel using:

  • Keybindings: alt + o
  • Editor context menu: Go to Page, Go to PageModel
  • Command palette: Go to Page, Go to PageModel

Razor Pages Example

MVC

Switch between View and Controller using:

  • Keybindings: alt + o (or alt + i for backwards compatibility)
  • Editor context menu: Go to Controller, Go to View
  • Command palette: Go to Controller, Go to View

MVC Switch Example

Create View for Action using:

  • Keybindings: alt + p
  • Editor context menu: Add View...
  • Command palette: Add View...

MVC Add View Example

Blazor

Switch between Component (.razor) and its CodeBehind (.razor.cs) using:

  • Keybindings: alt + o
  • Editor context menu: Go to Component, Go to CodeBehind
  • Command palette: Go to Component, Go to CodeBehind

About

Visual Studio Code extension (https://marketplace.visualstudio.com/items?itemName=adrianwilczynski.asp-net-core-switcher). Quickly switch between views, controllers, pages, page models and components in ASP.NET Core using keybindings, context menu or command palette.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published