My Top Sublime Text 2 Packages

The packages I find the most useful

I know, I've raved about Sublime Text 2 before, but now that it's fully integrated into my workflow (and I even own a license for it!), I thought I'd share my most used packages for it.

Before I delve into this, if you're new to packages, they're basically plugins that extend the functionality of the main program. The best way to install them is to follow the instructions in this post from Nettuts (look for point 7), which basically boils down to:

  • Open the console with CTRL/CMD + '
  • Paste this into it:
    import urllib2,os;pf='Package Control.sublime-package';ipp=sublime.installed_packages_path();os.makedirs(ipp) if not os.path.exists(ipp) else None;open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read())

Restart Sublime text 2 and you should now have the package manager installed. Press CTRL/CMD + SHIFT + P, type install, and hit enter.

You should be presented with a list of all the current packages available. Simply scroll through and press enter to install, it's that easy!

You can also head here to browse through them if you don't have Sublime text 2 installed.

The List

These are just a fraction of the packages available, but they seem to be the ones that I'm using the most at the moment.

Alignment

Lines up arrays/objects. I used to hate inheriting code that wasn't lined up, now with two simple keyboard shortcuts I don't have to spend time sorting it out!

Code Intel

I'm still not sure if I love this plugin, or hate it. Code Intel is Komodo's autocompletion engine; it supports lots of languages and actually learns what you use the most and (supposedly) intelligently suggests what you mean.

I think at first you need to be patient as it learns what you use, because I find it completing the wrong word a lot. When pressing '-' it assumes it's the end of the word and auto completes with what ever is at the top of the list, which is a nightmare when writing CSS.

DocBlockr

One thing I missed when moving away from NetBeans was the autocompletion of doc blocks, including variable hinting and auto indentation once inside the block. This solves that.

Git

Simply integrates Git straight into the IDE. I use it sparingly (like if I need to change just one file and commit it), but it does come in useful. There is also an Tortoise alternative available for people that use SVN.

TODO

Extracts TODOs (and FIXME, CHANGED and another others you might want to add) so you can keep on track with what you have left to complete.

Trailing Spaces

I'm a bit of a layout perfectionist, and it annoys me when there are trailing spaces at the end of lines. This highlights them and lets you delete them all in one shortcut.

Zen Coding

I'd never come across Zen Coding until recently, and I still need to remember to use it half the time, but when I do I really like it. This makes writing HTML quick and pain free.

There are so many more…

There are so many more I could have mentioned, but those are the ones I'm using most frequently. More are added all the time, so the repository definitely active.

Whatever you need/language you program in, there is probably a package for you!

Want to let me know what you think of My Top Sublime Text 2 Packages? Why not leave a comment, follow me on Twitter , or !

Comments

comments powered by Disqus