Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ng-switchNew to Visual Studio Code? Get it now.
ng-switch

ng-switch

Bharath Ravi

|
2,386 installs
| (3) | Free
simple file switch between controller and template files in angular projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ng-switch

Simple VS Code extension enabling file switching between template and controller files in Angular projects

demo

Features

Press Ctrl+Alt+Y or Cmd+Y(mac) to make the switch!

Or type switch in vscode command pallete(Ctrl+Shift+P)

If in a stylesheet, pressing Ctrl+Alt+Y or Cmd+Y will switch to the templating file

Keybinding conflict issue

Some devices might have keybinding conflicts with other extensions. In that case

  • Open vscode command pallete(Ctrl+Shift+P).
  • Search for Open Keyboard Shortcuts.
  • Find Alt+Ctrl+Y.
  • If there are multiple entries, assign a different binding for switch command as convenience.

Release Notes

1.0.0

Initial release of ng-switch with minimal functionality.

1.1.0

Added support for stylesheet switching.

1.1.1

Key binding for non-mac devices changed to Ctrl+Alt+Y.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft