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

Deploy code to production now. Release to users when ready. Learn how to separate code deployment from user-facing feature releases with LaunchDarkly.

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

Deploy code to production now. Release to users when ready. Learn how to separate code deployment from user-facing feature releases with LaunchDarkly.

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 }}