This extension for Visual Studio Code adds snippets for Angular +1.5 for TypeScript.
Type part of a snippet, press enter
, and the snippet unfolds.
ng1controller // creates an Angular controller
ng1component // creates an Angular module with a service and component
ng1module // creates an Angular module
ng1service // creates an Angular service
Alternatively, press Ctrl
+Space
(Windows, Linux) or Cmd
+Space
(OSX) to activate snippets from within the editor.
- 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