sublimetext-codeformatter icon indicating copy to clipboard operation
sublimetext-codeformatter copied to clipboard

Codeformater formaterror:

Open syothalassery opened this issue 8 years ago • 1 comments

Im getting following error while pressing 'F12' (which one i assigned) '[WinError2] system cannot find the file specified' i followed exactly same as what mentioned in documentation on github .. Thanks .

syothalassery avatar Nov 02 '17 07:11 syothalassery

It is giving that error because it cannot find your php executable file? You need to specify your php path in the package settings.

 "codeformatter_php_options":
    {
        "syntaxes": "php", // Syntax names which must process PHP formatter
        "php_path": "C:/UwAmp/bin/php/php-5.6.18/php.exe", // Path for PHP executable, e.g. "/usr/lib/php" or "C:/Program Files/PHP/php.exe". If empty, uses command "php" from system environments
   }

digvijayad avatar Feb 06 '18 01:02 digvijayad