Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Angular 2 Packages for Sublime Text 3

DZone's Guide to

Angular 2 Packages for Sublime Text 3

MVB Jalpesh Vadgama provides a few bits of advice for anyone using Sublime with Angular 2.

· Web Dev Zone ·
Free Resource

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

Recently 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.

typescript-package-for-sublime-text

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.

angular2-component-sublime-text

Once you type ng2 it will have snippets for various commands in Angular 2.

angular-2-snippets-demo-for-sublime-text

That’s it. Hope you liked it. Stay tuned for more!.

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.

Topics:
sublime text ,angular 2 ,angularjs 2

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}