Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Angular Toggle Counterpart FilesNew to Visual Studio Code? Get it now.
Angular Toggle Counterpart Files

Angular Toggle Counterpart Files

yanutetsu

|
1,930 installs
| (0) | Free
Toggle counterpart files on Angular
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

angular-toggle-counterpart

Easily toggle counterpart files (.ts|.spec.ts|.html) in angular.

Usage

  • ctrl+c c
    • open .html if you are opening .ts.
    • open .ts if you are opening .html.
  • ctrl+c ctrl+c (for testing)
    • open .spec.ts if you are opening .ts.
    • open .ts if you are opening .spec.ts.
  • no keybind (toggle of three)
    • open .ts if you are opening .html.
    • open .spec.ts if you are opening .ts.
    • open .html if you are opening .spec.ts.
  • ctrl+c m
    • open *.module.ts if you are opening *-routing.module.ts.
    • open *-routing.module.ts if you are opening *.module.ts.

Release Notes

0.4.0

add new command that toggle module counterpart files.

0.3.1

fix command names

0.3.0

add new command that toggle four counterpart files at random.

0.2.0

add new command that toggle three counterpart files.

0.1.2

fix README

Source

GitHub

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