Angular 2 Packages for Sublime Text 3
MVB Jalpesh Vadgama provides a few bits of advice for anyone using Sublime with Angular 2.
Join the DZone community and get the full member experience.
Join For FreeRecently I wrote a blog post about Angular 1.5 Packages for Sublime Text 3. It was a hit and lots of people were asking for packages for Angular 2, so I thought it would be a good idea to write a blog post about it. So let’s get started. We have already learned how we can install packages on Sublime Text 3. The following are packages that are good for Angular 2.
As we all know, Angular 2 is built with TypeScript, so the first thing we need is a TypeScript package.
TypeScript
This plugin is developed by Microsoft. You can find more information at their GitHub Repository: https://github.com/Microsoft/TypeScript-Sublime-Plugin
There are code editing services provided by this package. You can do many things with the package like rename or format documents (i.e where different shortcuts are already defined in the GitHub repository). This package is a must for Angular 2 development.
Angular 2 Snippets
This package provides code completion and snippets for Angular 2. It has been imported from John Papa’s code completion package for Visual Studio code. You can find the link here: https://github.com/pjlamb12/st3-ng2-snippets
It provides various snippets and code completion for Angular 2.
Once you type ng2 it will have snippets for various commands in Angular 2.
That’s it. Hope you liked it. Stay tuned for more!.
Published at DZone with permission of Jalpesh Vadgama, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments