8 necessary Sublime Text plugins

Sublime Text is a fantastic code editor – far superior and faster than editors I’ve used in the past such as Coda and Espresso.

There are many plugins/packages for SublineText to add features and tailor the experience to your work flow; these are my favourites.


This lets you hit COMMAND-CTRL-A to align your PHP code with spaces. I usually use it to align my arrays and variables nicely to keep code readable.


DocBlockr eases the creation of docblocks in your PHP code – simply type /** and hit enter when above a function or class and a blank docblock will be created ready to edit.


I personally use SublimeLinter-PHP the most. This lets you have errors highlighted in your code as your type:


Very handy when debugging, and to find silly mistakes. Just a note on this one, to get it working I had to edit /etc/php.ini and set display_errors = On to get it working in Mavericks.

Synced sidebar

When working in projects with the sidebar visible, this simply highlights/scrolls the sidebar to show the current file you are editing. When I have many files open this does make the sidebar easier to work with.

Sidebar enhancements

Sidebar enhancements adds more context menus to your sidebar:

Sidebar Menus

I use reveal and rename quite a bit so this saves time.


Trimmer will strip whitespace from your files when you hit CTRL+S.

Sublime FTP

This package isn’t free, but it is darn useful. Add a sftp-config.json to your project with FTP connection details, and this extension will allow FTP uploads and downloads. I use this when developing locally, but pushing to a remote server.

Sublime Text 2 WordPress

Adds auto-completion and snippets for WordPress functions. For forgetful folk 🙂

Installing these plugins with Package Control

Every user of Sublime Text should grab this first. Once installed it makes installing other packages a breeze, letting you open the command palette (SHIFT+COMMAND+P) and then choose “install package” to view and install available plugins.

Any others?

If you use SublimeText, what packages would you recommend? Share in the comments.






17 responses to “8 necessary Sublime Text plugins”

  1. ghost1227 avatar

    Pretty much what I’m already using, but I add JSON Reindent and HTML-CSS-JS Prettify to the list.

  2. croixhaug avatar

    Bracket Highlighter – indispensable for seeing what scope you’re in

    1. ghost1227 avatar

      Good plugin, but I got rid of it when I discovered that better than half the time scope > visible page height for me >_<

    2. mikejolley avatar

      I use bracket highlighter too, but tbh its not that useful because if you format your code the right way, the ‘grid’ lines added by sublime are enough.

  3. rzen avatar

    Excellent list! Here are two more really clever packages for you, and anyone else who might be interested:

    PhpTidy adds support for formatting code to WP core standards: https://sublime.wbond.net/packages/PhpTidy

    Modific will add markers to the line gutter to indicate which parts of a version-controlled file have been altered since the last commit: https://sublime.wbond.net/packages/Modific

    1. mikejolley avatar

      I could never get PhpTidy to work before. I’ll have to give it another go.

      1. ghost1227 avatar

        Me neither…

  4. Myles McNamara avatar

    These plugins are a must for me:

    emmet (emmet.io) amazing auto generate html,

    find function definition (or whocalled) great when need to track down a function,

    FileDiffs to compare two files or tabs,

    LiveReload so you never have to press refresh in browser again,

    Codeivate to track your coding (lang, time, etc)

    Those are a few must haves for me, with other ones as well like terminal, adb, etc, for project specific needs. PhpTidy, etc.

  5. Norcross avatar

    I also use Emmet: great for things like CSS. and the SCSS package to give my SASS files the same syntax highlighting as regular CSS.

    1. mikejolley avatar

      That one does look pretty cool – gonna check it out.

    2. Matt Soria avatar
      Matt Soria

      Yeah, Emmet is for sure a must-have

  6. Austin Wulf avatar
    Austin Wulf

    I’d also add Autoprefixer, because it’s great not to have to worry about browser prefixes when writing CSS.

  7. Jason LeMoine avatar
    Jason LeMoine

    GitGutter [https://github.com/jisaacks/GitGutter]

  8. Jenny avatar

    definitely Sublimerge should be one of “core” packages: http://www.sublimerge.com/

  9. maurice avatar

    Thank you for your list! I will have a look at trimmer, sounds good.

    I wrote a blogpost about the plugins I use (http://www.maurice-renck.de/en/blog/top10-sublime-text-plugins/) Have a look, if you like.

  10. Michael Musgrove avatar

    SublimeMagick, CleanCSS, Alignment, and Bracket Highlighter are useful as well. So many nice plugins for ST2/3. Adobe’s Brackets is an open-source editor that’s worth a close look as well for anyone in the market, but as a creature of habit I just can’t stop using ST3 as my main editor. Love it.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: