{"id":1742,"date":"2009-11-03T03:16:21","date_gmt":"2009-11-03T02:16:21","guid":{"rendered":"http:\/\/www.chipwreck.de\/blog\/?page_id=1742"},"modified":"2018-01-10T13:36:55","modified_gmt":"2018-01-10T12:36:55","slug":"help","status":"publish","type":"page","link":"https:\/\/www.chipwreck.de\/blog\/software\/coda-php\/help\/","title":{"rendered":"Coda PHP &#038; Web Toolkit \u2013 Help"},"content":{"rendered":"<div class=\"contentnavi\">\n<ol class=\"contentnav1 center\">\n<li><a href=\"\/blog\/software\/coda-php\/\">Download \/ Feedback<\/a> &bull;<\/li>\n<li><span class=\"pink\">Help &bull;<\/span><\/li>\n<li><a href=\"\/blog\/software\/coda-php\/coda-tips\">Coda Tips<\/a><\/li>\n<\/ol>\n<p class=\"contentnav2 center\"><a href=\"#help1\">Requirements<\/a> &bull; <a href=\"#help2\">Installation<\/a> &bull; <a href=\"#quick\">Troubleshooting\/FAQ<\/a> &bull; <a href=\"#help3\">Usage<\/a> &bull; <a href=\"#help5\">Credits\/License<\/a> &bull; <a href=\"#help6\">Changelog<\/a><\/p>\n<\/div>\n<p><a href=\"javascript:window.print()\">Print this page &raquo;<\/a><\/p>\n<h2><a name=\"help1\"><\/a>Requirements<\/h2>\n<ul>\n<li>Coda 1.6.12 (or higher) from <a class=\"external\" href=\"http:\/\/www.panic.com\/coda\">panic.com &raquo;<\/a><\/li>\n<li>OS X 10.6 (or higher)<\/li>\n<\/ul>\n<p class=\"toplink\"><a href=\"#top\">&#x21e7; top<\/a><\/p>\n<h2><a name=\"help2\"><\/a>Installation<\/h2>\n<ul>\n<li>Download, unzip and doubleclick the Coda-plugin file. Restart Coda if necessary.<\/li>\n<li>Make sure you use the latest version:<br \/>Use <q>Check for Updates<\/q> in the menu or enable automatic checking for updates in the Preferences.<\/li>\n<\/ul>\n<p class=\"small\">Coda plugins are installed in ~\/Library\/Application Support\/Coda\/Plug-ins\/ (Coda 1)<br \/>or ~\/Library\/Application Support\/Coda 2\/Plug-ins\/ (Coda 2)<\/p>\n<p class=\"toplink\"><a href=\"#top\">&#x21e7; top<\/a><\/p>\n<h2><a name=\"quick\"><\/a>Problems? Try this:<\/h2>\n<h4>1. Did you restart Coda after updating?<\/h4>\n<p>Please try this first.<\/p>\n<h4>2. Make sure you use the latest version.<\/h4>\n<p>Use <q>Check for updates<\/q> in the Plug-ins menu:<br \/>\n\t&nbsp;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/02\/coda-plugin-check-for-updates.png\" alt=\"coda plugin check for updates\" title=\"coda plugin check for updates\" width=\"370\" height=\"156\" style=\"opacity:0.9;margin-bottom:1em\"  class=\"size-full wp-image-6046\" srcset=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/02\/coda-plugin-check-for-updates.png 370w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/02\/coda-plugin-check-for-updates-120x50.png 120w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/02\/coda-plugin-check-for-updates-300x126.png 300w\" sizes=\"auto, (max-width: 370px) 100vw, 370px\" \/><\/p>\n<h4>3. Have you accidentally installed this plugin more than once?<\/h4>\n<p><span>Go to the plugin-folder:<br \/>\n<em>(your user folder)\/Library\/Application Support\/Coda\/Plug-Ins\/<\/em> &#8211; for Coda 1<br \/>\n<em>(your user folder)\/Library\/Application Support\/Coda 2\/Plug-Ins\/<\/em> &#8211; for Coda 2<\/p>\n<p>If it looks like below: delete the PhpPlugin-files, download, install again.<br \/>&nbsp;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/02\/Multiple-Plugins.png\" alt=\"Multiple PHP-Plugins installed\" title=\"Multiple Plugins\" width=\"560\" height=\"192\" style=\"opacity:0.9;margin:0.5em\"  class=\"alignnone size-full wp-image-6124\" style=\"border: 1px solid #ccc\" srcset=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/02\/Multiple-Plugins.png 560w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/02\/Multiple-Plugins-120x41.png 120w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2011\/02\/Multiple-Plugins-300x102.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<h4>4. Check the <a href=\"#help4\">FAQ &raquo;<\/a><\/h4>\n<p>Thanks.<\/p>\n<h4>5. Read the <a href=\"#help3\">Documentation &raquo;<\/a><\/h4>\n<h4>6. If that doesn&#8217;t help, don&#8217;t hesitate to submit a <a href=\"https:\/\/www.chipwreck.de\/blog\/software\/coda-php\/#respond\">comment &raquo;<\/a><\/h4>\n<p>Also helpful: Switch the debug mode on and have a look at the console output.<\/p>\n<h2><a name=\"help4\"><\/a>FAQ<\/h2>\n<ul>\n<li class=\"question\">How to submit bugs\/comments?<\/li>\n<li class=\"answer\">\n<p>Simply post a comment <a class=\"ext_link\" href=\"https:\/\/www.chipwreck.de\/blog\/software\/coda-php\/#respond\">here &raquo;<\/a>.<\/p>\n<\/li>\n<li class=\"question\">Can&#8217;t install: <em>The plug-in <q>PhpPlugin<\/q> could not be read. Please verify the plug-in\u2019s format or try re-downloading the plug-in from the author\u2019s website.<\/em><\/li>\n<li class=\"answer\">\n<p>The \u201c.codaplugin\u201d-extension is linked to the \u201cCoda Plug-in Creator\u201d, to fix:<br \/>Right-click on the \u201cPhpPlugin.codaplugin\u201d-file and choose \u201cOpen with\u2026\u201d and select \u201cCoda\u201d (instead of the default entry \u201cCoda Plug-In Creator\u201d).<br \/>\n(You can also use the information window CMD+I to change the association of .codaplugin-files permanently)<\/p>\n<\/li>\n<li class=\"question\">Coda 2: Folded Code is not validated\/deleted<\/li>\n<li class=\"answer\">\n<p>This is a bug in Coda 2.0 and will be fixed in the next Coda update. In between unfold the code before.<\/p>\n<\/li>\n<li class=\"question\">I get one of these errors: <em><q>File encoding does not match<\/q><\/em>,  <em><q>Undefined response received, please report this error<\/q><\/em>, <em><q>Error \u2013 No output received in replaceEditorTextWith<\/q><\/em>, <em><q>Errors Parsing &#8211;<\/q><\/em>, <em><q>LessCSS is incompatible<\/q><\/em>, <em>an exception while using proCSSor<\/em><\/li>\n<li class=\"answer\">\n<p>Fixed now &#8211; update to the latest version.<\/p>\n<p class=\"small\">If you use the LessCSS-plugin: Simply uninstall it &#8211; it&#8217;s incomaptible &#8211; and use the much better <a href=\"http:\/\/incident57.com\/less\/\" class=\"external\">Less.app &raquo;<\/a> instead.<br \/>\n\t\t\t<br \/>If you use Mojo WebOS-plugin: Also outdated, so uninstall it (or contact its author)<\/p>\n<\/li>\n<li class=\"question\">I use OS X 10.4 (Tiger) and Coda\/the plugin crashes<\/li>\n<li class=\"answer\">\n<p>Yes, the requirement is OS X 10.6+, so an update of OS X would be the easy solution.<\/p>\n<\/li>\n<li class=\"question\">I&#8217;m trying to use PHPtidy on a selected part of the editor &#8211; doesn&#8217;t work<\/li>\n<li class=\"answer\">\n<p>It works if you include the opening and closing PHP-Tags in the selection: <kbd escaped=\"true\">&lt;?php .. ?&gt;<\/kbd><\/p>\n<\/li>\n<li class=\"question\">Tidy HTML is nice, but afterwards my PHP code is broken?!<\/li>\n<li class=\"answer\">\n<p>If you use short PHP-tags inside attributes like this:<\/p>\n<p>\t\t\t<code escaped=\"true\">a href=\"&lt;?=getLinkTarget() ?&gt;\"<\/code><\/p>\n<p>Tidy <q>cleans<\/q> it, in this case use complete php-tags for the attribute value in single quotes:<\/p>\n<p>\t\t\t<code escaped=\"true\">a href='&lt;?php echo getLinkTarget(); ?&gt;'<\/code><\/p>\n<p>Or use can use TidyPHP , and have a look at the output &#8211; undo is your friend :).<\/p>\n<\/li>\n<li class=\"question\">How to remove\/uninstall the plugin?<\/li>\n<li class=\"answer\">\n<p>Close Coda, go to <kbd>(your_home_folder)\/Library\/Application Support\/Coda\/Plug-ins\/<\/kbd> and delete the file <kbd>PhpPlugin.codaplugin<\/kbd> &#8211; that&#8217;s it.<\/p>\n<p>(For Coda 2 the path is <kbd>(your_home_folder)\/Library\/Application Support\/Coda 2\/Plug-ins\/<\/kbd>)<\/p>\n<\/li>\n<li class=\"question\">After executing <i>some function<\/i> something has gone awfully wrong\/I get an exception, why?<\/li>\n<li class=\"answer\">\n<p>Please enable debug messages in the preferences and post a comment <a class=\"ext_link\" href=\"https:\/\/www.chipwreck.de\/blog\/software\/coda-php\/#respond\">here &raquo;<\/a>.<\/p>\n<p><em>Note: There&#8217;s always Undo (Cmd-z) to get back the previous file content.<\/em><\/p>\n<\/li>\n<li class=\"question\">What&#8217;s the difference between the validation functions?<\/li>\n<li class=\"answer\">\n<p><q>Validate HTML online<\/q> uses the W3C-Service (suprise..), <q>Validate HTML<\/q> uses Tidy (<a href=\"http:\/\/tidy.sourceforge.net\/\" target=\"_blank\">tidy.sourceforge.net<\/a>). Both generally do the same, but tidy reports for example useless empty tags &#8211; which are according to the W3C standard of course valid.<\/p>\n<\/li>\n<li class=\"question\">This plugin has helped me\/saved my life\/I&#8217;d like to support the development &#8211; now what?<\/li>\n<li class=\"answer\">\n<p>Cool &#8211; just post a comment, visit the ads or <a href=\"\/blog\/donate\/\">donate some dollars\/euros via paypal<\/a> (see the pink box on the right side).<\/p>\n<\/li>\n<li class=\"question\">Why did you not include feature XY?11!!1??<\/li>\n<li class=\"answer\">\n<p>Two reasons &ndash; first: I&#8217;ve started this for my private entertainment and work on it in my spare time. So things might take longer.<br \/>\n\t\t\t\t<br \/>Second point: I can only use the functions provided by Panic via the <a href=\"http:\/\/www.panic.com\/coda\/plugins-dev.html\" class=\"external\">Coda API<\/a> &#8211; and some things are simply not (yet) there, like <em>Get URL from Browser Preview<\/em> and so on&#8230;<\/p>\n<\/li>\n<\/ul>\n<p class=\"toplink\"><a href=\"#top\">&#x21e7; top<\/a><\/p>\n<h2><a name=\"help3\"><\/a>Usage<\/h2>\n<ul>\n<li>In the Menu, select &#8220;Plugins&#8221; and then &#8220;PHP &#038; Web Toolkit&#8221;.<\/li>\n<li>All functions are applied to the file currently opened in the editor.<\/li>\n<li>Note: You can undo all changes with cmd+z<\/li>\n<\/ul>\n<h3>Preferences<\/h3>\n<ul>\n<li class=\"question\">Check for Updates<\/li>\n<li class=\"answer\">\n<p>Automatically check for a new version once a day. Recommended!<\/p>\n<\/li>\n<li class=\"question\">Use selection<\/li>\n<li class=\"answer\">\n<p>If you have selected a part of the file, functions will be applied only to this part.<\/p>\n<\/li>\n<li class=\"question\">Notify via Growl<\/li>\n<li class=\"answer\">\n<p>Growl is a OS X notification tool. If you have installed Growl you can enable this to get some notifications via Growl.<\/p>\n<\/li>\n<li class=\"question\">Results in floating window<\/li>\n<li class=\"answer\">\n<p>The result of functions like HTML\/Javascript\/CSS validation is shown in a floating window instead of a new Coda Tab. Recommended! <\/p>\n<\/li>\n<\/ul>\n<ul>\n<li class=\"question\">Beep Only<\/li>\n<li class=\"answer\">\n<p>If enabled, successful PHP validation is indicated only by a sound (otherwise a sheet appears).<\/p>\n<\/li>\n<li class=\"question\">Auto Save<\/li>\n<li class=\"answer\">\n<p>If you enable this, the PHP validation automatically saves the file &#8211; if no errors occured.<\/p>\n<\/li>\n<li class=\"question\">PHP Tidy<\/li>\n<li class=\"answer\">\n<p>Configure braces style, if blank lines are added, if whitespaces are being inserted and if comma spacing is being fixed.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li class=\"question\">Online Validation<\/li>\n<li class=\"answer\">\n<p>Choose which online validation service you&#8217;d like to use.<\/p>\n<\/li>\n<li class=\"question\">HTML tidy &#8211; Configuration<\/li>\n<li class=\"answer\">\n<p>Select the format in which HTML tidy outputs your file &#8211; simply try out what works best for you. If you choose &#8220;Custom&#8221; you can modify the configuration manually, the button at the bottom takes you to the online documentation.<br \/>\n\t\t\tNote: &#8220;Body only&#8221; works well with HTML snippets, but removes DOCTYPE and header (if present).<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li class=\"question\">CSS tidy<\/li>\n<li class=\"answer\">\n<p>Select the format in which CSS tidy outputs your file &#8211; low compression means: Very readable with newlines and spaces, higher compression: Less space used, but also less readable. Simply try out what works best for you.<\/p>\n<\/li>\n<li class=\"question\">CSS level<\/li>\n<li class=\"answer\">\n<p>Choose which CSS level will be used for the online validation (CSS 2, CSS 2.1, CSS 3).<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li class=\"question\">JS Tidy<\/li>\n<li class=\"answer\">\n<p>Configure how JS Tidy should format your javascript code.<\/p>\n<\/li>\n<li class=\"question\">JS Hint<\/li>\n<li class=\"answer\">\n<p>Configure the details of JS Hint javascript validation.<\/p>\n<\/li>\n<\/ul>\n<ul>\n<li class=\"question\">Debug Mode<\/li>\n<li class=\"answer\">\n<p>Use this to view debug information in the console (and send these to me if you encounter problems).<\/p>\n<\/li>\n<li class=\"question\">PHP executable<\/li>\n<li class=\"answer\">\n<p>If you want to use another php version than the one that come with OS X, you can set the file location here.<\/p>\n<\/li>\n<li class=\"question\">Online Validation<\/li>\n<li class=\"answer\">\n<p>Here you can change the URL and the fieldnames for online validation, use this if a web service has changed its address.<\/p>\n<\/li>\n<\/ul>\n<h3>Validate PHP &#8211; <em>Check PHP file for syntax errors<\/em><\/h3>\n<p>If an error occurs, choose &#8220;Go to line&#8221; and the cursor will be moved to the appropriate line:<\/p>\n<p>\n\t\t\t<a href=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/07\/php-validation-error.png\" rel='shadowbox[post-1764];player=img;' title='Example of a php validation error'><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"53\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/07\/php-validation-error-300x53.png\" class=\"imgshadow attachment-medium\" alt=\"PHP Validation Error\" title=\"php-validation-error\" \/><\/a>\n\t\t<\/p>\n<p>If you enable &#8220;Auto save&#8221; in the preferences (and no errors occured), the file will be saved automtically.<\/p>\n<p class=\"small\">\n\t\t\t<strong>Note for Coda 1:<\/strong> If the line is out of focus, it&#8217;s not automatically scrolled &#8211; this is a drawback of the Coda 1 API.\n\t\t<\/p>\n<h3>Tidy PHP &#8211; <em>Clean up and reformat PHP code<\/em><\/h3>\n<p>This sends the file to PHPtidy, which cleans it up and reformats PHP Code &mdash; Use this for PHP files which are unreadable or chaotic.<\/p>\n<h3>Validate HTML &#8211; <em>Check HTML files for Validity<\/em><\/h3>\n<p>If the file is valid, you see an information window like this:<\/p>\n<p><a href=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/07\/validate-html-okay.png\" rel=\"shadowbox[post-1766];player=img;\" title=\"HTML Validation without errors\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"91\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/07\/validate-html-okay-300x91.png\" class=\"imgshadow attachment-medium\" alt=\"Validate HTML: Okay\" title=\"validate-html-okay\" \/><\/a><\/p>\n<p>If there are errors, a new window opens &#8211; listing the problems HTML tidy found:<\/p>\n<p><a href=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/07\/validate-html-errors.png\" rel=\"shadowbox[post-1765];player=img;\" title=\"HTML Validation with errors\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"104\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/07\/validate-html-errors-300x104.png\" class=\"imgshadow attachment-medium\" alt=\"Validate HTML: Errors found\" title=\"validate-html-errors\" \/><\/a><\/p>\n<h3>Validate HTML\/CSS online &#8211; <em>Online validation of HTML\/CSS source code<\/em><\/h3>\n<p>The current file (=its source code) is sent to the w3c-validation service for HTML- or CSS-files. The result is shown in a new window. You have to be online of course.<\/p>\n<p>The output is missing some images, but nevertheless you can see what&#8217;s wrong or not.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/11\/w3c-css-ok.png\" alt=\"w3c-css-ok\" title=\"W3C CSS Validation without errors\" width=\"400\" height=\"173\" class=\"aligncenter size-full wp-image-1996\" srcset=\"https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/11\/w3c-css-ok.png 400w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/11\/w3c-css-ok-150x64.png 150w, https:\/\/www.chipwreck.de\/blog\/wp-content\/uploads\/2009\/11\/w3c-css-ok-300x129.png 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/p>\n<h3>Tidy HTML &#8211; <em>Reformat HTML<\/em><\/h3>\n<p>Use this to reformat HTML-code.<\/p>\n<p><strong>Note:<\/strong> The format can be specified (in 5 variants) in the Preferences.<\/p>\n<h3>Tidy CSS &#8211; <em>Reformat CSS-files (via CSS Tidy)<\/em><\/h3>\n<p>Use this to reformat or minify CSS-code.<\/p>\n<p><strong>Note:<\/strong> The format can be specified (in 4 variants) in the Preferences.<\/p>\n<h3>Strip Whitespace and Comments &#8211; <em>Removes all comments and whitespaces from PHP<\/em><\/h3>\n<p>Useful to save space or to clean up a file you won&#8217;t be editing further.<\/p>\n<h3>JS Hint &#8211; <em>Check and validate Javascript files<\/em><\/h3>\n<p>This checks the currently open javascript for errors and problems. If problems are found, a new window opens with a detailed report. More information about JSHint can be found on the <a href=\"http:\/\/www.jshint.com\" class=\"external\">JSHint homepage &raquo;<\/a>.<\/p>\n<h3>Minify Javascript\/CSS &#8211; <em>Shorten JS\/CSS files<\/em><\/h3>\n<p>This minifies (compresses) the currently open javascript\/css file. It<br \/>\nremoves comments and unnecessary whitespace from javascript\/css files, resulting in faster downloads. More information can be found on the <a href=\"http:\/\/www.crockford.com\/javascript\/jsmin.html\" class=\"external\">JSMin homepage &raquo;<\/a>.<\/p>\n<h3>Tidy Javascript &#8211; <em>Reformat Javascript files<\/em><\/h3>\n<p>This reformates (beautifies) the currently open javascript file. Use this to get a readable version of minified files for example or to clean up chaotic code.<\/p>\n<p class=\"toplink\"><a href=\"#top\">&#x21e7; top<\/a><\/p>\n<h2><a name=\"help5\"><\/a>Credits<\/h2>\n<p>Using the following great tools:<br \/>\nphptidy (<a href=\"http:\/\/cmr.cx\/phptidy\/\" class=\"external\">cmr.cx\/phptidy<\/a>),<br \/>\nHTML tidy (<a href=\"http:\/\/tidy.sourceforge.net\" class=\"external\">tidy.sourceforge.net<\/a>),<br \/>\nCSS Tidy (<a href=\"http:\/\/csstidy.sourceforge.net\/\" class=\"external\">csstidy.sourceforge.net<\/a>),<br \/>\nJSHint (<a href=\"http:\/\/www.jshint.com\/\" class=\"external\">jshint.com<\/a>),<br \/>\nJSMin (<a href=\"http:\/\/github.com\/rgrove\/jsmin-php\/\" class=\"external\">github.com\/rgrove\/jsmin-php<\/a>)<br \/>\nand JSBeautifier (<a href=\"http:\/\/jsbeautifier.org\/\" class=\"external\">jsbeautifier.org<\/a>).<\/p>\n<h4>License<\/h4>\n<p>This software is copyright Mario Fischer 2008-2014. It is free for personal and business use, redistribution only without modifications. <strong>Donations are welcome.<\/strong><\/p>\n<p class=\"small grey\">This software is provided  &#8216;as is&#8217;. In no event shall chipwreck.de be liable for<br \/>\n\tany direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services;<br \/>\n\tloss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort<br \/>\n\t(including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.<\/p>\n<p class=\"toplink\"><a href=\"#top\">&#x21e7; top<\/a><\/p>\n<h2><a name=\"help6\"><\/a>Changelog<\/h2>\n<div class=\"changelog\">\n<h5>4.2<\/h5>\n<p>\n\tJSHint 2.3.0 included<br \/>\n\tRemoved some legacy options from JSHint configuration<br \/>\n\tUse any JSHint option, there\u2019s a text field in which you can enter JSHint config options. (separated by comma).<br \/>\n\tA list of valid options can be found here: jshint.com\/docs\/options\/<br \/>\n\tRewritten JSHint-Wrapper (because JSHint works a bit differently now)<br \/>\n\tRemoved some legacy JSHint options\n\t<\/p>\n<h5>4.1<\/h5>\n<p>\n\t\tBugfix for a very improbable exception<br \/>\n\t\tCode update (mostly internal stuff)<br \/>\n\t\tDialog layout improved when resized\n\t <\/p>\n<h5>4.0<\/h5>\n<p>\n\t\tCSSTidy updated to the current development release. This should now correctly format CSS inside @media-tags.<br \/>\n\t\tIntegrated HTML 5 compatible tidy for validation and reformatting\n\t\t<\/p>\n<h5>3.9<\/h5>\n<p>\n\t\t\t\tNew: Validate JS on save (Coda 2 only)<br \/>\n\t\t\t\tNew: Separate CSS minification included<br \/>\n\t\t\t\tFix PHP validation on save with selection<br \/>\n\t\t\t\tLaxcomma setting for JSHINT<br \/> <br \/>\n\t\t\t\tJSMinify updated\n\t\t\t<\/p>\n<h5>3.8<\/h5>\n<p>\n\t\t\t\tLots of bugfixes<br \/>\n\t\t\t\tCompatibility with other plugins improved<br \/> <br \/>\n\t\t\t\tJSMinify updated\n\t\t\t<\/p>\n<h5>3.7<\/h5>\n<p>\n\t\t\t\tNew: Minify on Publish (Coda 2 only)<br \/>\n\t\t\t\tNew: Modify file extension list for PHP validate on save<br \/>\n\t\t\t\tCheck if Growl is present, includes Growl 1.2 and Growl 1.3 notifier<br \/>\n\t\t\t\tCSSTidy: New option Remove last ; \u2013 control if the last ; in a block is removed or not<br \/>\n\t\t\t\tCSSTidy: Workaround for wrong @import behavior<br \/>\n\t\t\t\tJSHint: Doesn\u2019t report useless strict warnings anymore<br \/>\n\t\t\t\tJSHint: Removed unused \u2013safe option<br \/>\n\t\t\t\tJSHint: Added link to option documentation in the preferences<br \/>\n\t\t\t\tCSSTidy\/JSMinify: CR\/LF handling improved<br \/>\n\t\t\t\tPHPTidy won\u2019t try to format php files with syntax errors<br \/>\n\t\t\t\tRewritten launching of php based tools, more robust now<br \/>\n\t\t\t\tRefactoring PHP error display<br \/>\n\t\t\t\tPerformance\/memory improvements<br \/>\n\t\t\t\tPreferences layout improved, added Google+ link\n\t\t<\/p>\n<h5>3.6<\/h5>\n<p>\n\t\t\t\t\u201cUnified\u201d version for Coda 1 and Coda 2<br \/>\n\t\t\t\tChecks automatically if accidentally more than one plugin is installed<br \/> <br \/>\n\t\t\t\tNew function: PHP validate on save (Coda 2 only)<br \/>\n\t\t\t\tJavascript JSHint: Updated to a new version<br \/>\n\t\t\t\tJavascript Tidy (JSBeautify): Update to latest version, no file size limit anymore, CR\/LF handling correctly now<br \/>\n\t\t\t\tCSS Tidy: Update to latest version, CR\/LF handling correctly now<br \/>\n\t\t\t\tPerformance improvements (loading time, js functions)<br \/>\n\t\t\t\tNew version notification now shows the new version number&#8230;<br \/>\n\t\t\t\tPlugin path is now correct for Coda 1 and Coda 2\n\t\t<\/p>\n<h5>3.5 beta<\/h5>\n<p>\n\t\t\t\tCoda 2 compatible version<br \/>\t<br \/>\n\t\t\t\tNew preference setting for JSHint: Use smart tabs<br \/>\n\t\t\t\t\u201cGo to line\u201d (for PHP errors) now uses the API function in Coda 2, so it scrolls to the error location<br \/>\n\t\t\t\tAutomatic update should now work correctly with Coda 1 and Coda 2\n\t\t<\/p>\n<h5>3.4<\/h5>\n<p>\n\t\t\t\tRemove proCSSor because the API service has been cancelled\n\t\t<\/p>\n<h5>3.3<\/h5>\n<p>\n\t\t\t\tSmall bugfix for Prefs window layout<br \/>\n\t\t\t\tInternal structure improvement<br \/>\n\t\t\t\tFix (improbable) memory leak\n\t\t<\/p>\n<h5>3.2<\/h5>\n<p>\n\t\t\t\tValidate PHP syntax before performing PHPtidy<br \/>\n\t\t\t\tMinify CSS<br \/>\n\t\t\t\tUpdated CSSTidy<br \/>\n\t\t\t\tPreferences window improved (links to twitter\/fb\/donate)<br \/>\n\t\t\t\tJS Hint: Many more options<br \/>\n\t\t\t\tJS Hint: Respect line endings, whitespace warnings now correct<br \/>\n\t\t\t\tJS Tidy: Respect line endings\n\t\t<\/p>\n<h5>3.1<\/h5>\n<p>\n\t\t\t\tJS Tidy now also configurable<br \/>\n\t\t\t\tproCSSor bugfix<br \/>\n\t\t\t\tRespect Tabs\/Spaces where available<br \/>\n\t\t\t\tAutomatic Update (finally..!!)<br \/>\n\t\t\t\tImproved validation results<br \/>\n\t\t\t\tJS Hint updated<br \/>\n\t\t\t\tPHPTidy improvements<br \/>\n\t\t\t\tJS Hint: Remove (quite useless) &#8220;unsafe character&#8221; warning<br \/>\n\t\t\t\tResult window looks cooler now<br \/>\n\t\t\t\tModularized the code<br \/>\n\t\t\t\tModularized the code<br \/>\n\t\t\t\tPrefs window improved\n\t\t<\/p>\n<h5>3.0<\/h5>\n<p>\n\t\t\t\tUse selection<br \/>\n\t\t\t\tGrowl (and growl-like) notifications<br \/>\n\t\t\t\tResults as floating window<br \/>\n\t\t\t\tMore preferences for PHPTidy<br \/>\n\t\t\t\tHTML online validation: Included three validator settings<br \/>\n\t\t\t\tDrop curl, use cocoa instead<br \/>\n\t\t\t\tUse JSC call instead of shell script<br \/>\n\t\t\t\tJShint preferences<br \/>\n\t\t\t\tImproved preferences layout<br \/>\n\t\t\t\tBugfixes, lots of<br \/>\n\t\t\t\tNearly complete code rewrite\n\t\t<\/p>\n<h5>2.7<\/h5>\n<p>\n\t\t\t\tShow an short message after updating (only once)<br \/>\n\t\t\t\tUpdated CSSTidy to 1.3.1<br \/>\n\t\t\t\tHTML Validate output improved<br \/>\n\t\t\t\tHTML5 <q>support<\/q> aka workaround for tidy<br \/>\n\t\t\t\tJSLint replace by JSHint (upgrade, kind of)<br \/>\n\t\t\t\tPreference for PHPTidy: Fix statement brackets\n\t\t<\/p>\n<h5>2.6<\/h5>\n<p>\n\t\t\t\tPreferences for PHPTidy: New lines, Whitespaces, Comma spacing<br \/>\n\t\t\t\tBugfix for umlaut conversion with JSTidy\n\t\t<\/p>\n<h5>2.5<\/h5>\n<p>\n\t\t\t\tSet CSS Level for validation (2, 2.1, 3)<br \/>\n\t\t\t\tConfigure PHPTidy braces placement\n\t\t<\/p>\n<h5>2.4<\/h5>\n<p>\n\t\t\t\tWarning message (incompatible plugin) improved<br \/>\n\t\t\t\tBefore accessing proCSSor, check if incompatible plugin present\n\t\t<\/p>\n<h5>2.3<\/h5>\n<p>\n\t\t\t\tTidyCSS update (current SVN)<br \/>\n\t\t\t\tW3C online response much more readable<br \/>\n\t\t\t\tCheck for incompatible SBJsonParser<br \/>\n\t\t\t\tError messages improved<br \/>\n\t\t\t\tUpdatecheck circumvents cache now\n\t\t<\/p>\n<h5>2.2<\/h5>\n<p>\n\t\t\t\tNew: Beep only for PHP validation<br \/>\n\t\t\t\tPreferences window now remembers the open tab<br \/>\n\t\t\t\tPreferences window revamped (again..)<br \/>\n\t\t\t\tShortcuts also shown in the preferences<br \/>\n\t\t\t\tHTML Tidy version in about window now modified if &#8220;use internal&#8221; is changed<br \/>\n\t\t\t\tImproved some tooltips in the preferences\n\t\t<\/p>\n<h5>2.1<\/h5>\n<p>\n\t\t\t\tNew: procssor.com configurable<br \/>\n\t\t\t\tNew: JSBeautifier included<br \/>\n\t\t\t\tAbout window now part of the preferences<br \/>\n\t\t\t\tPreferences window revamped<br \/>\n\t\t\t\tCode clean-up<br \/>\n\t\t\t\tShortcut for JS Beautifier\n\t\t<\/p>\n<h5>2.0<\/h5>\n<p>\n\t\t\t\tNew: Encoding automatically selected<br \/>\n\t\t\t\tNew: Custom HTML tidy configuration<br \/>\n\t\t\t\tNew: Included a more recent HTML tidy binary<br \/>\n\t\t\t\tNew: procssor.com online service included (experimental)<br \/>\n\t\t\t\tGoto line now works correctly with different line endings<br \/>\n\t\t\t\tLine endings now respected in HTML tidy, CSS tidy and PHP tidy<br \/>\n\t\t\t\tHTML tidy version shown in the about page<br \/>\n\t\t\t\tPreferences window new layout<br \/>\n\t\t\t\tJS lint now correctly handles backslashes<br \/>\n\t\t\t\tError messages improved<br \/>\n\t\t\t\tMessage sheet layout improved\n\t\t<\/p>\n<h5>1.9<\/h5>\n<p>\n\t\t\t\tNew: JS Minify<br \/>\n\t\t\t\tHTML Validation report window now can be close without the annoying &#8220;Save Changes&#8221;-question<br \/>\n\t\t\t\t&#8220;Reveal in Finder&#8221; bugfix at preferences page<br \/>\n\t\t\t\tDonation button in the about window (Hint: click it :)\n\t\t<\/p>\n<h5>1.81<\/h5>\n<p>\n\t\t\t\tCSS tidy now handles CSS3 values starting with a dash (-)<br \/>\n\t\t\t\tKeyboard shortcuts for CSS tidy and Preferences<br \/>\n\t\t\t\tSome code clean-up\n\t\t<\/p>\n<h5>1.8<\/h5>\n<p>\n\t\t\t\tJavascript Lint (JSLint) now included<br \/>\n\t\t\t\tUpdate check now daily instead of each time Coda starts<br \/>\n\t\t\t\tNew CSS tidy configuration: Sort attributes\n\t\t<\/p>\n<h5>1.7<\/h5>\n<p>\n\t\t\t\tHTML tidy now configurable (in the Preferences) !<br \/>\n\t\t\t\tPreferences are automatically saved<br \/>\n\t\t\t\tBugfix when saving Coda Prefs\n\t\t<\/p>\n<h5>1.62<\/h5>\n<p>\n\t\t\tAutomatic update check now in the background (asynchronous)<br \/>\t<br \/>\n\t\t\tCSS tidy now configurable (in the Preferences) !<br \/>\n\t\t\tLess intrusive error-messages on connection failures\n\t\t<\/p>\n<h5>1.6<\/h5>\n<p>\n\t\t\t\tUser Preferences<br \/>\n\t\t\t\tAutomatic check for updates<br \/>\n\t\t\t\tCSS tidy integrated<br \/>\n\t\t\t\tStructured Menu (aka Submenus)<br \/>\n\t\t\t\tUsing the HTML-tidy version delivered with OSX (PowerPC compatible)<br \/>\n\t\t\t\tRedesigned the error- and &#8220;validation okay&#8221;-sheets XCode-like<br \/>\n\t\t\t\tMore encodings: ASCII, UTF-16, Windows CP-1252<br \/>\n\t\t\t\tAll functions use the current buffer contents now<br \/>\n\t\t\t\tError messages not explicitely state their origin<br \/>\n\t\t\t\tUpdated phptidy to current version 2.10\n\t\t<\/p>\n<h5>1.4<\/h5>\n<p>\n\t\t\t\tW3C-Validation online for HTML-files<br \/>\n\t\t\t\tW3C-Validation online for CSS-files<br \/>\n\t\t\t\tHelp button (on the about sheet) now opens this page\n\t\t<\/p>\n<h5>1.31<\/h5>\n<p>W3C-Validation service, 1st try<\/p>\n<h5>1.3<\/h5>\n<p>\n\t\t\tImproved Sheet display<br \/>\n\t\t\tBugfixes\n\t\t<\/p>\n<h5>1.13<\/h5>\n<p>\n\t\t\t\tValidate HTML (via tidy)<br \/>\n\t\t\t\tJump to error line \u2013 if PHP validation finds an error<br \/>\n\t\t\t\tCheck for Updates (in the about-box)<br \/>\n\t\t\t\tFile encoding can be chosen<br \/>\n\t\t\t\tNice sheets, no more of those ugly alert-boxes<br \/>\n\t\t\t\tMenu items are only available if they should be<br \/>\n\t\t\t\tLots of code cleanup<br \/>\n\t\t\t\tMore useful \u201cAbout\u201d-dialogue, link to the plugin homepage\n\t\t<\/p>\n<h5>0.96<\/h5>\n<p>\n\t\t\t\t&#8220;About..&#8221;-dialog<br \/>\n\t\t\t\tImproved exception handling<br \/>\n\t\t\t\tBugfixes\n\t\t<\/p>\n<h5>0.9<\/h5>\n<p>\n\t\t\tNew features: HTML tidy, Strip PHP, PHP tidy<br \/>\n\t\t\tIncluded HTML Tidy<br \/>\n\t\t\tIncluded phptidy<br \/>\n\t\t\tBugfixes\n\t\t<\/p>\n<h5>0.85<\/h5>\n<p>Bugfixes, dialogs updated<\/p>\n<h5>0.8<\/h5>\n<p>Initial release<\/p>\n<\/div>\n<p class=\"toplink\"><a href=\"#top\">&#x21e7; top<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download \/ Feedback &bull; Help &bull; Coda Tips Requirements &bull; Installation &bull; Troubleshooting\/FAQ &bull; Usage &bull; Credits\/License &bull; Changelog Print this page &raquo; Requirements Coda 1.6.12 (or higher) from panic.com &raquo; OS X 10.6 (or higher) &#x21e7; top Installation Download, unzip and doubleclick the Coda-plugin file. Restart Coda if necessary. Make sure you use the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.chipwreck.de\/blog\/software\/coda-php\/help\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Coda PHP &#038; Web Toolkit \u2013 Help&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":723,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1742","page","type-page","status-publish","hentry"],"jetpack_shortlink":"https:\/\/wp.me\/PaPEN-s6","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/pages\/1742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/types\/page"}],"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=1742"}],"version-history":[{"count":1,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/pages\/1742\/revisions"}],"predecessor-version":[{"id":8149,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/pages\/1742\/revisions\/8149"}],"up":[{"embeddable":true,"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/pages\/723"}],"wp:attachment":[{"href":"https:\/\/www.chipwreck.de\/blog\/wp-json\/wp\/v2\/media?parent=1742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}