diff --git a/snippets/ng2-component.sublime-snippet b/snippets/ng2-component.sublime-snippet index 90d29e2..30d0552 100644 --- a/snippets/ng2-component.sublime-snippet +++ b/snippets/ng2-component.sublime-snippet @@ -17,5 +17,5 @@ export class ${3:ComponentName}Component implements OnInit { ]]> ng2-component source.ts,source.tsx - + Angular 2 Component Snippet \ No newline at end of file diff --git a/snippets/ng2-http-get.sublime-snippet b/snippets/ng2-http-get.sublime-snippet new file mode 100644 index 0000000..b6590f4 --- /dev/null +++ b/snippets/ng2-http-get.sublime-snippet @@ -0,0 +1,9 @@ + + res.json());$0 + ]]> + ng2-http-get + source.ts,source.tsx + Angular 2 HTTP Get Snippet + \ No newline at end of file diff --git a/snippets/ng2-pipe.sublime-snippet b/snippets/ng2-pipe.sublime-snippet new file mode 100644 index 0000000..1dd3e80 --- /dev/null +++ b/snippets/ng2-pipe.sublime-snippet @@ -0,0 +1,21 @@ + + + ng2-pipe + source.ts,source.tsx + Angular 2 Pipe Snippet + \ No newline at end of file diff --git a/snippets/ng2-route-definition.sublime-snippet b/snippets/ng2-route-definition.sublime-snippet new file mode 100644 index 0000000..86ac909 --- /dev/null +++ b/snippets/ng2-route-definition.sublime-snippet @@ -0,0 +1,8 @@ + + + ng2-route-definition + source.ts,source.tsx + Angular 2 Route Definition Snippet + \ No newline at end of file diff --git a/snippets/ng2-routes.sublime-snippet b/snippets/ng2-routes.sublime-snippet new file mode 100644 index 0000000..048ed3e --- /dev/null +++ b/snippets/ng2-routes.sublime-snippet @@ -0,0 +1,10 @@ + + + ng2-routes + source.ts,source.tsx + Angular 2 Routes Snippet + \ No newline at end of file diff --git a/snippets/ng2-service.sublime-snippet b/snippets/ng2-service.sublime-snippet index 420dba4..40e8cb9 100644 --- a/snippets/ng2-service.sublime-snippet +++ b/snippets/ng2-service.sublime-snippet @@ -8,7 +8,7 @@ export class ${1:ServiceName}Service { constructor() {} } ]]> - ng2-component + ng2-service source.ts,source.tsx - + Angular 2 Service Snippet \ No newline at end of file diff --git a/snippets/ng2-subscribe.sublime-snippet b/snippets/ng2-subscribe.sublime-snippet new file mode 100644 index 0000000..9aa91e4 --- /dev/null +++ b/snippets/ng2-subscribe.sublime-snippet @@ -0,0 +1,9 @@ + + this.${4:property} = ${3:arg});$0 + ]]> + ng2-subscribe + source.ts,source.tsx + Angular 2 Subscribe Snippet + \ No newline at end of file