angular2-switcher
angular2-switcher copied to clipboard
Easily navigate to `typescript(.ts)`|`template(.html)`|`style(.scss/.sass/.less/.css)` in angular2 project.
angular2-switcher
Easily navigate to typescript(.ts)|template(.html)|style(.scss/.sass/.less/.css) in angular2 project.
Support
a :coffee: and you will help me to keep working on this extension :wink:
Usage
- Go to the definition of variables/functions when press
f12within html. - Switch
.ts|.html|.css|.spec.tsquickly.Windows macOS If on .ts|.css|.spec.ts: go to.html
If on.html: go to previousalt+oshift+alt+oIf on .ts|.html|.spec.ts: go to.css
If on.css: go to previousalt+ishift+alt+iIf on .css|.html|.spec.ts: go to.ts
If onts: go to previousalt+ushift+alt+uIf on .ts|.css|.html: go to.spec.ts
If on.spec.ts: go to previousalt+pshift+alt+p
Available Settings
- Open files side by side (
falseby default)
"angular2-switcher.openSideBySide": true
- The order of angular2-switcher find corresponding style file (
[".scss", ".sass", ".less", ".css"]by default)
"angular2-switcher.styleFormats": [".scss", ".sass", ".less", ".css"]
- The order of angular2-switcher find corresponding template file (
[".html"]by default)
"angular2-switcher.templateFormats": [".html"]
- The order of angular2-switcher find corresponding spec file (
[".spec.ts", ".stories.ts"]by default)
"angular2-switcher.styleFormats": [".spec.ts", ".stories.ts"]