Three of My Favorite Coda Plugins For WordPress

As I’ve previously mentioned, I use Coda as my IDE for WordPress development. Honestly, it lacks a lot features that I miss about IDE’s like Visual Studio, but I’m a fan of the user interface and have found a number of Coda Plugins for WordPress that make it more a pleasant experience.

To that end, there are a number of plugins that I’ve added to Coda that enhance the overall development experience for WordPress and that I’ve found make it much easier to resolve some of the common problems that arise when writing WordPress-based code while trying to stay true to the coding standards.

Coda Plugins For WordPress

1. WordPress Mode For Coda 2

WordPress Mode For Coda 2

WordPress Mode For Coda 2

Matthew Woodard has released a solid plugin that adds the equivalent of WordPress autocomplete within the context of the Coda editor. As you can see from the screen shot, it will display wp prefixed functions that are available whenever you begin typing them.

Additionally, depending on your color scheme, supported functions will be colored differently than those functions that are not supported or defined so it’s really asy to recognize whether or not you’re using a supported function.

2. DocBlock

DocBlock Generator For Coda

DocBlock Generator For Coda

I’m a big fan of code comments – both in the form of DocBlocks and in the form of single line comments – because no matter how clear you think your code is, it’s still code, you know?

That means it can be difficult for someone else to read (let alone yourself six months from now :)).

As such, I’m a fan of explaining classes, methods, and more. Justin Hileman’s DocBlock generator plug-in for Coda is great for helping to provide the stubs necessary to fill out documentation for your code for tools such as phpDocumentor to generate the documentation.

3. White Out

White out For Coda 2

White Out is great for trimming white space at the end of each line.

White Out is a plugin by Erik Hinterbichler which removes any trailing whitespace for each line in your source code whenever your work. I’ve tried a number of plugins that offer to do this and this has been the one that I’ve liked the most.

This is especially useful if you’re working to strictly adhere to the WordPress Coding Standards such that you’re removing trailing whitespace, using tabs, and appropriately spaces in the mid-line (a hard habit that I’ve had to break!).

It’s Not Perfect

These three plugins definitely enhance the Coda WordPress development experience, but the one thing I’m still waiting for is a debugger up to the quality of what Visual Studio offers.

Sure, MacGDBP is a fair debugger, but it’s not the same as having everything setup in the same window for breakpoints, step throughs, step overs, and so on.

But then again, this is a post about Coda plugins for WordPress. Not my wish list :).

8 Comments

Thanks for this. I never even thought about adding plugins to Coda. Guess it was better anyway to start out learning many of the shortcuts instead of depending on a program.

    Yeah – shortcuts are nice, but when you have a long file and you need some stuff automated, plugins really take the cake in automating a lot of tedious stuff (like clearing whitespace, prepping DocBlocks, etc. :)).

Nice. I didn’t know about any of these :)

I was using a WP syntax plugin that was mostly abandoned so I look forward to seeing if this one is better, and I assume it is.

I also like the PHP & Web toolkit – http://www.chipwreck.de/blog/software/coda-php/ – it has handy stuff for PHP/HTML/CSS/JS validation, minification (or un-minification). It isn’t always perfect (HTML tidy for instance is really dumb the way it works) but the PHP validation works great.

    I stumbled across these three over the past couple of weeks when doing some work and figured they’d be worth sharing.

    I had to try several before I found a few I liked because, like you, some of the more popular ones are abandoned (and remain popular for link juice, I suppose :)).

    I haven’t heard of the PHP and Web Toolkit – gonna check it out. I use CodeKit for LESS and JavaScript stuff, but the PHP validation is something that I’d definitely welcome. Having autocomplete is nice, but not always enough, IMHO.

      I would really like to see full project search built in to Coda. I know that’s a very IDEish feature, but it’d be so helpful. If Sublime had a good extension for project search, I’d probably switch just for that.

        I tried Sublime for several weeks, but I keep coming back to the UI.

        The way I always describe the IDE conundrum to other developers is that you can’t have it all: You can’t have a good UI, hardcore tools, and good debugging all in one. It just doesn’t exist yet (which is sad).

        I know I keep bringing up Visual Studio, and it’s not without it’s UI faults, but it’s tools and it’s debugger are hands-down my favorite.

        But you know, why couldn’t Coda have a full project search feature, you know? It is an IDE simply by the nature of its current feature set (integrated SCM, database management, multi-project management, etc.).

        I think it’s a good idea, fwiw.

        I will say that I think their active project search is nice – fast and easy to use – but going across projects would be a nice win.

Thanks, I also didn’t know about any of these. The PHP & Web toolkit plugin will also remove any trailing whitespace. And with this this edit it adds spacing after a start round bracket ‘(‘ and before an end round bracket ‘ )’ : http://magp.ie/2011/01/10/tidy-and-format-your-php-and-meet-wordpress-standards-on-coda-and-textwrangler/ .

    I like that it adds spaces in between parentheses especially for the WordPress coding standards.

    It’d actually be really nice to have a WordPress Coding Standards plugin, but then again that requires a bit of time that many of us are probably using to work on other projects – such is life, right? :)

Leave a Reply

Name and email address are required. Your email address will not be published.

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>