标签:component rect sni actor java let create install publish
Visual Studio Code Beta is available and it supports extensions! I published my first 2 extensions for creating Angular 1 and 2 snippets. You can grab these from the marketplace or right from VS Code.
You can browse the VS Code Extension Gallery both from within VS Code and through the VS Code Marketplace.
###Installing
This extension for Visual Studio Code adds snippets for Angular 2 for TypeScript.
Ctrl
-Shift
-P
(Windows, Linux) or Cmd
-Shift
-P
(OSX)Install Extension
Type part of a snippet, press enter
, and the snippet unfolds.
ng2component // creates an Angular 2 component
ng2service // creates an Angular 2 service
Alternatively, press Ctrl
+Space
(Windows, Linux) or Cmd
+Space
(OSX) to activate snippets from within the editor.
This extension for Visual Studio Code adds snippets for Angular 1 for TypeScript and JavaScript.
Ctrl
-Shift
-P
(Windows, Linux) or Cmd
-Shift
-P
(OSX)Install Extension
Type part of a snippet, press enter
, and the snippet unfolds.
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
Alternatively, press Ctrl
+Space
(Windows, Linux) or Cmd
+Space
(OSX) to activate snippets from within the editor.
标签:component rect sni actor java let create install publish
原文地址:http://www.cnblogs.com/cjxhd/p/5976743.html