This extension allows you to add Angular2 typescript files including snippets to your VS Code project.
Inspired by Sebastian Baar's Angular2 Add Files for VS Code.
Now Updated for Angular 2.0.0 release
This command adds the following files to your new folder (let's assume you typed in home --c t css spec f
):
home/home.component.ts
home/home.component.html
home/home.component.css
home/home.component.spec.ts
This command adds the following extended files to your new folder (let's assume you typed in home --c t css spec s m f
):
home/home.component.ts
home/home.component.html
home/home.component.css
home/home.component.spec.ts
home/shared/home.service.ts
home/shared/home.model.ts
This command adds the following extended files to your new folder (let's assume you typed in home --c t css spec s m M r f
):
home/home.component.ts
home/home.component.html
home/home.component.css
home/home.component.spec.ts
home/shared/home.service.ts
home/shared/home.model.ts
home/home.module.ts
home/home.routing.ts
This command adds the following extended files to your new folder (let's assume you typed in home --all f
):
home/home.component.ts
home/home.component.html
home/home.component.css
home/home.component.spec.ts
home/shared/home.service.ts
home/shared/home.model.ts
home/home.module.ts
home/home.routing.ts
This command adds the following extended files to your new folder (let's assume you typed in home --all
):
home.component.ts
home.component.html
home.component.css
home.component.spec.ts
shared/home.service.ts
shared/home.model.ts
home.module.ts
home.routing.ts
- c | component: component.ts
- t | template: component.html
- C | css: component.css
- s | service: service.ts
- S | spec: component.spec.ts
- m | model: model.ts
- M | moudle: moudle.ts
- r | routing: routing.ts
- all: all
- f | folder: add folder
- ns | noshared: Default model.ts and service.ts in the shared directory
MIT