Skip to content

wymsee/vscode-angular1-snippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wymsee's Angular 1 JavaScript and TypeScript Snippets for VS Code

Fork of John Papa's Angular 1 JavaScript and TypeScript Snippets, with added components for Typescript and modified slightly for our prefered style.

This extension for Visual Studio Code adds snippets for Angular 1 for JavaScript and TypeScript.

Use Extension

Usage

Type part of a snippet, press enter, and the snippet unfolds.

ng1component // creates an Angular component (requires Angular > 1.5)
ng1componentcontroller // creates an Angular controller for use with components
ng1controller // creates an Angular controller
ng1directive  // creates an Angular directive
ng1factory    // creates an Angular factory
ng1module     // creates an Angular module
ng1service    // creates an Angular service
ng1filter     // creates an Angular filter

Alternatively, press Ctrl+Space (Windows, Linux) or Cmd+Space (OSX) to activate snippets from within the editor.

Installation

  1. Install Visual Studio Code 0.10.1 or higher
  2. Launch Code
  3. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Select Install Extension
  5. Choose the extension
  6. Reload Visual Studio Code

Install Extension

About

vscode-angular1-snippets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published