10 Essential Sublime Text Extensions for WordPress Developers

When it comes to code text editors, in the past year or so Sublime Text 2 has well and truly established itself as the most popular and most loved editor available. It’s lightweight, super-easy-to-use, supports a multitude of programming languages, split edit screens, distraction-free mode… no matter what feature you need, Sublime Text 2 has you covered!

In this short post we have highlighted 10 Sublime Text WordPress extensions that will help when developing with everybody’s favorite CMS.

sublime text logo banner wordpress

One of the most useful features of Sublime Text 2 is its support for extensions/plugins (or additional packages as Sublime Text 2 calls them), that will help you get even more out of the editor. So without wasting anymore time, let us go ahead and check out the extensions:

If you have Package Control installed, you can install all of the below extensions directly from within Sublime Text 2 (Preferences > Package Control > Install Package > Search...).

Sublime Text Snippet Library For WP

Sublime Text Snippet Library for WP contains various snippets that you can use with Sublime Text when developing for WordPress. Thus, this extension ensures that you can focus on the task at hand, and leave minor tasks and simpler autocompleting stuff to Sublime Text 2.


If you are working on WP theme development using the Genesis framework, this particularSublime Text extension might be useful for you, as it contains a bunch of handy snippets that you can use Genesis child theme development that little bit easier.

Search WordPress Codex

As the name suggests, Search WordPress Codex lets you search the WP Codex from within the editor. Furthermore, you can right-click on any given function within the code, and it can take you to the function’s reference page in the Codex. It can be super useful if you need to refer to the Codex regarding a given function or coding style.

Sublime Text Snippets

Sublime Text Snippets is yet another extension that provides you with various WordPress-related snippets. Some of the notable snippets included here are custom login logo, custom admin pages, custom login URL, custom footer text, and so on.

WordPress New Project Config

WordPress New Project Config can save you a lot of time each time you start a new WP project. As such, this script can create a new folder with the project name, install the latest WordPress build automatically, fetch and install your chosen starter theme, eliminate default WP themes and the Hello Dolly plugin, create a database and table and finally, launch your project in Sublime Text 2.

Sublime Text 2 WordPress

Sublime Text 2 WordPress is a simple collection of WordPress snippets and autocomplete entries.

WordPress TextMate Bundle

WordPress TextMate Bundle is a simple plugin that can save a lot of time when working with WordPress. It features auto-completion of WP plugins, snippets and other commonly used chunks of code, which can help you save a lot of time when developing for WordPress.

WordPress Readme to Markdown

WordPress Readme to Markdown lets you convert WordPress plugin readme files to Markdown. Considering the fact that Markdown is an essential requirement when posting to the official repository, this extension can really be useful for developers whose strong-hold is not Markdown.

Sublime PHPtidy

Not WordPress specific but still really useful, Sublime PHPtidy lets you properly format your PHP code when working with Sublime Text. Basically, this little extension ensures that your code is in compliance with WordPress Coding Standards.

Sublime HTMLtidy

Coming from the same lineage as Sublime PHPtidy, Sublime HTMLtidy can help you clean and tidy up your HTML code. Once again, just like Sublime PHPtidy, this extension too can ensure that your work is not poorly coded.


The CSSFormat plugin will help you format your CSS files according to their own set of standards.

Have we missed any extensions? Let us know in the comments below!


  • Mark Dayley

    These are fantastic!!! Thanks for sharing.

    I installed Sublime Text 2 when it came out, but haven’t been using it. I’m more familiar with RapidPHP… but with these extensions making my WordPress development more intuitive, I’ll definitely be using SublimeText2 for my new development environment. Sure beats using a printed list of actions & filters… or searching Google every time I need a quick refresher on functions, filters, queries, & actions.

  • I have started use this a few months ago and it is very handy

  • Jeremy

    hey Sufyan!

    thanks for talking about WordPress New Project Config

    I just want to add that this is not a Sublime extension, it’s just a shell script for mac that launches a configured project in Sublime


  • JRo


  • Love it!

  • Some useful extensions. Thanks!

  • Guest

    Umm.. you need a WordPress readme to post to WordPress.org, not a markdown file. The plugin just converts the WP.org readme (which uses a modified version of Markdown, anyway) into proper markdown which can be used on GitHub

  • What I nice tip! I just started using Sublime Text, and are getting warm feelings of it. And, I’m not poetic hardcoder, but I work with both PHP/WordPress and Shopify Liquid.

    Helps me a lot! <3

  • Hello Sufyan,
    The WordPress New Project Config looks like a great script. What a useful timesaver when creating a new project.


  • Ruairi Phelan

    Great extends, I use sublime text 2, so some these will be particularly useful.


  • I use Sublime text 2 on Windows and would like to know if WordPress New Project Config would work on Windows. The github page says it was developed for Mac.

  • Schurpf

    Outstanding list! Thanks a lot for taking the time to put these together :)

  • Very useful post! Thanks

  • Jason

    Pretty great article, i would add to the last CSSFormat that there is a version created by Mutain in 2015 that is better. when installing the CSSFormat just keep an eye out for it below the 2013 version by a Lamps Plus Web development:) Thanks for the post.