{"id":6376,"date":"2011-04-13T00:00:29","date_gmt":"2011-04-12T22:00:29","guid":{"rendered":"http:\/\/www.chipwreck.de\/blog\/?p=6376"},"modified":"2011-04-13T07:21:13","modified_gmt":"2011-04-13T05:21:13","slug":"coda-php-web-toolkit-js-tidy-formatting","status":"publish","type":"post","link":"https:\/\/www.chipwreck.de\/blog\/2011\/04\/13\/coda-php-web-toolkit-js-tidy-formatting\/","title":{"rendered":"Coda PHP &#038; Web Toolkit &#8211; JS tidy formatting"},"content":{"rendered":"<p>The next update will make JSTidy configurable, but in case you&#8217;d like to change the braces placement (in a new line) right now:<\/p>\n<ul>\n<li>Go to <kbd>(your user folder)\/Library\/Application Support\/Coda\/Plug-Ins\/<\/kbd><\/li>\n<li>Right click on &#8220;PhpPlugin.codaplugin&#8221;, choose &#8220;Show package contents&#8221;<\/li>\n<li>Navigate to <kbd>Contents\/Resources<\/kbd> and open <kbd>\"jstidy-min.js\"<\/kbd> with an Editor<\/li>\n<li>On the last line replace <kbd>braces_on_own_line:true<\/kbd> with <kbd>braces_on_own_line:false<\/kbd><\/li>\n<ul>\n","protected":false},"excerpt":{"rendered":"<p>The next update will make JSTidy configurable, but in case you&#8217;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 &#8220;PhpPlugin.codaplugin&#8221;, choose &#8220;Show package contents&#8221; Navigate to Contents\/Resources and open &#8220;jstidy-min.js&#8221; with an Editor On the last line replace braces_on_own_line:true with braces_on_own_line:false<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[20],"tags":[82,19],"class_list":["post-6376","post","type-post","status-publish","format-standard","hentry","category-coda","tag-coda","tag-software"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/paPEN-1EQ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts\/6376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/comments?post=6376"}],"version-history":[{"count":0,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/posts\/6376\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/media?parent=6376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/categories?post=6376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/tags?post=6376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}