WordPress Mode for Coda 2

UPDATED 01-15-2019: This Coda add-on is completely compatible with WordPress 4.4+

If you are using Panic’s Coda 2, and you are a WordPress developer or theme developer, then you definitely need this plugin for Coda. It gives you robust autocomplete with the WordPress functions library, and nice syntax coloring as well.

You can download the WordPress mode for Coda here.

Installing WordPress Mode for Coda

WordPress Mode for Coda 2

Share this post:

14 Responses

  1. Hi,
    I’ve installed the plugin (Coda 2.5.11). Am I supposed to get another option in the Syntax Mode menu? If so I can’t see one. But Coda 2 has always auto completed the wp_ functions for me anyway but I think this is due to Panic’s own WordPress 3.7.1 Additions 1.0 plugin that appears in the modes panel of the Preferences plugin panel. Does your plugin provide more functionality beyond that (apart from the WP version bump)?
    What I was actually looking for, something that I’d really appreciate using Coda and WP, is the ability to autocomplete hooks. I’m going to look into writing a plugin myself, I have small amount of Obj-C experience but I figure the learning curve for such a project would take me weeks or months to either complete or reach the conclusion that it’s impossible.
    It seems to me that pulling even just the array keys from the global $wp_filter array and presenting those alphabetically when beginning the first string parameter in /(add|remove)_(action_filter)/ would be fairly simple, but I’m not a proper developer so I may be way off base. I do realise that no other autocomplete detection works from within a string (i.e. once you’ve typed a quote), so maybe it’s impossible and I’d be wasting my time. I just get frustrated by how much of WP’s complexity and functionality is buried away within arbitrary strings that won’t be tamed by autocomplete so I have constantly reference the codex.
    Sorry to ramble. I’d appreciate your thought on any of the above. Or if you’ve got a spare 10 minutes you could probably add that functionality to your plugin 😉
    Cheers
    Lee

  2. Me again. Last one, I promise. I hacked about with your plugin and made my own (http://roobyroo.co.uk/wp-content/uploads/2015/09/WordPress-Hooks.codacompletion.zip). I was unable to find any documentation on what keys are available to use in the Additions.plist file. I originally tried to make it work so you just typed the bare name of the hook and get the plugin to prepend the opening quote but can’t work out if that’s possible. As it is the autocomplete list disappears when you type a ( so you can only ever scroll through the full list of filters or actions, but it works for me for now.
    Cheers
    Lee

Leave a Reply

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

Other Resources

web design services by matthew woodard
Business Tips

Expert Web Design Services – Transform Your Online Presence

Professional Custom Web Page Design Services by Experts in Website Design: Enhance Your Online Presence Today!

Funny man looking searching binoculars a laptop on the table working at home office
How To

How To Remove Duplicate Meta Descriptions in WordPress – Elementor’s Hello Theme: A Step-by-Step Guide

Allow me to show you How to Remove Duplicate Meta Descriptions … If you’re using Elementor with the Hello theme ...

A web designer is using his idea to create a digital product design project that will meet the needs
Business Tips

The Ultimate Guide to Hiring a Professional Web Designer for Your Business

The Ultimate Guide to Hiring a Professional Web Designer for Your Business Are you looking to take your business website ...

Tell me about your project

Congratulations on taking the first step in growing your business. I am looking forward to helping you achieve the success you are looking for with your website.

Share a few details with me and let’s build something great!

Schedule your call today.

Ready to elevate your online presence? Join me for a personalized website consultation where we’ll discuss your business goals, design ideas, and digital strategy.

Whether you’re looking to create a new website, improve your existing one, or explore features like e-commerce, SEO, or custom graphics, this session is designed to provide expert guidance tailored to your needs.

Come prepared with your ideas, questions, and vision—I’m here to help you turn your online presence into a powerful business tool. Let’s collaborate and build something extraordinary!