More plugins for Sublime Text 2

After we started digging into what’s possible with Sublime Text 2, we we published two other plugins:

Search WordPress Codex

Based on the helpful Search Stack Overflow plugin, this enables you to search the WordPress Codex quickly from within Sublime Text 2.

You can search by selection or by manual input and you can decide to actually search the codex or directly open the Function Reference page for the selected function.

You can even right click on a WordPress function, select “WordPress Function Reference” from the context menu and the documentation for this function opens right in your browser. That’s only two clicks!

Install via Package Control – search for “WordPress Codex” – or read more on GitHub.

HtmlTidy

As a follow up to the previously released PhpTidy, we wrote a companion plugin to tidy up the HTML code that PhpTidy won’t.

You can even fine tune its behavior with your own HtmlTidy.sublime-settings file.

Install via Package Control – search for “HtmlTidy” – or read more on GitHub.

 

Tidy your PHP code with Sublime Text 2

I recently made the switch from Coda to Sublime Text 2 which is an amazing code editor available on all major platforms.

Usually you don’t get this kind of tweets about an editor:

Sublime Text: The text editor you’ll fall in love with http://bit.ly/wRiTJq (@chierotti)

Today is one of the happiest days in my life as a developer.
I discovered sublime!! (@sssilver)

The community around Sublime Text 2 is growing rapidly with new plugins being published nearly every day. It shares a common reason for success with WordPress: You can extend Sublime Text 2 to become everything you want it to be.

It seems you can even tweet from within Sublime Text 2:

Haha, it’s funny, I’m tweeting from #sublimeText (@diestrin)

After I stumbled upon a blog post about a modified version of phptidy, which formats PHP code according to WordPress Coding Standards, I decided to write a plugin for Sublime Text 2 that would allow me to use wp-phptidy.php directly in the editor.

This plugin is now available on GitHub and can be installed via Package Control, just search for “PhpTidy”.

For more information visit PhpTidy on GitHub.