Coda PHP & Web Toolkit – JS tidy formatting

The next update will make JSTidy configurable, but in case you’d like to change the braces placement (in a new line) right now:

  • Go to (your user folder)/Library/Application Support/Coda/Plug-Ins/
  • Right click on “PhpPlugin.codaplugin”, choose “Show package contents”
  • Navigate to Contents/Resources and open "jstidy-min.js" with an Editor
  • On the last line replace braces_on_own_line:true with braces_on_own_line:false

One Reply to “Coda PHP & Web Toolkit – JS tidy formatting”

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.