Setup Sublime Text 3 for Angular 2
Here we share our Sublime Text setup for working with Angular 2.
TypeScript Package
Install TypeScript package:
Ctrl+Shift+P(open command palette)- Type
install packagethen pressEnter - Search for
"TypeScript"then pressEnterto install
Angular2 HTML Package
Install Angular2 HTML Syntax package:
Ctrl+Shift+P(open command palette)- Type
install packagethen pressEnter - Search for
"Angular2 HTML Syntax"then pressEnterto install
Automatically highlight .component.html files with Angular2 HTML Syntax:
- Open a
.component.htmlfile - Choose View > Syntax > Angular2 HTML
-
Go to Preferences > Settings – Syntax Specific and add the following line (within the file on the right):
"extensions":["component.html"] - Restart Sublime Text
-
xie
-
Michael McCoy
-
Stephen VoPava
-
Workflow 












