Giter VIP home page Giter VIP logo

add-angular2-files's Introduction

VS Code Angular2 Add Files

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.

Changelog

1.0.0

Now Updated for Angular 2.0.0 release

Add Angular2 Files

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

Options

  1. c | component: component.ts
  2. t | template: component.html
  3. C | css: component.css
  4. s | service: service.ts
  5. S | spec: component.spec.ts
  6. m | model: model.ts
  7. M | moudle: moudle.ts
  8. r | routing: routing.ts
  9. all: all
  10. f | folder: add folder
  11. ns | noshared: Default model.ts and service.ts in the shared directory

Contributors

Front Y

License

MIT

add-angular2-files's People

Contributors

winpzs avatar

Watchers

James Cloos avatar  avatar ☜Samlv9☞ avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.