Together, Thorsten brings us this add-on for Coda, WordPress Syntax Mode for WordPress.
One thing to note is that these do not get updated automatically, so when a new function comes out in a newer version of WordPress, the author will need to update and then you will need to update. It would be nice if Coda had similar updates to add-ons similar to what WordPress has for updates.
Overall, it’s an extremely helpful tool if you use Coda to develop in WordPress.
Tested on Coda 1.7, might work on previous versions.
- Download the packed mode file and unpack it.
- Copy the
PHP-HTML-WP.modethe Coda Modes folder.
- Open a WordPress or PHP file and load the syntax mode in Coda by visiting Text -> Syntax Mode -> PHP-HTML-WP in the toolbar.
- Optional: To make this mode the default visit the Editor pane in the Preferences window and select the ‘PHP-HTML-WP’ mode as default file type