Sublime is sublime!! :D

I am a great fan of Visual Studio, but sometimes it lacks some of the lightness and flexibility you can get with other frameworks. It’s too heavy on loading and has so many tools you aren’t going to use just right now. And that’s where Sublime seems to be doing it’s best: it’s light, very light, as it only comes with the basics for editing and you can then add plugins to it as need to customize it’s features according to your needs. Just as a quick comparison, Visual usually takes around 200MB of memory, sometimes 400 or 500, Sublime seems to be fine with 50. Also, the opensource community seems to be quite into this project always adding new plugins for it with each new tool they make available.

Installing Sublime

Just get to their website and download the latest version executable.

Installing the Package Control

Now, Sublime allows you to install different packages that act as plugins to add features to the editor, allowing you to customize its features easily. Get to this page and copy the code to execute it into the Sublime console as explained in that same website (Go to View -> View Console, Paste, Enter).

import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( '' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
Note: That code changes with every release, so you probably need to get it on their website anyway.

Adding packages

Go to Preferences > Package Controle > Package Control: Install Package. And select the package you want to install.
– TypeScript

Note: TypeScript also requires it to be installed in your machine, for example using node.js:
npm install -g typescript

Leave a Reply

Your email address will not be published. Required fields are marked *