Angular 1 JavaScript and TypeScript Snippets for VS Code
This extension for Visual Studio Code adds snippets for Angular 1 for JavaScript and TypeScript.
Usage
Type part of a snippet, press enter
, and the snippet unfolds.
ng1component // creates an Angular componentng1controller // creates an Angular controllerng1directive // creates an Angular directiveng1factory // creates an Angular factoryng1module // creates an Angular moduleng1service // creates an Angular serviceng1filter // creates an Angular filter
Alternatively, press Ctrl
+Space
(Windows, Linux) or Cmd
+Space
(OSX) to activate snippets from within the editor.
Installation
- Install Visual Studio Code 0.10.1 or higher
- Launch Code
- From the command palette
Ctrl
-Shift
-P
(Windows, Linux) orCmd
-Shift
-P
(OSX) - Select
Install Extension
- Choose the extension
- Reload Visual Studio Code