benmatselby / sublime-phpcs

🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text
Other
812 stars 126 forks source link

PHP-CS-Fixer Disabled #108

Closed LukeMauldin closed 10 years ago

LukeMauldin commented 10 years ago

I am running ST 3 with the latest version of the sublime-phpcs plugin on a Ubuntu 13.10 box. Running PHPCS works correctly on my PHP files but I am unable to run php-cs-fixer from inside ST 3. When I right-click on the directory in the side-bar the option is always grayed-out. I have restarted ST 3 but that does not resolve the problem. I can open up the directory in a terminal and manually run php-cs-fixer and it works correctly. Configuration:

    "php_cs_fixer_on_save": false,
    "php_cs_fixer_show_quick_panel": true,
    "php_cs_fixer_executable_path": "/usr/local/bin/php-cs-fixer"
LukeMauldin commented 10 years ago

My mistake, I had to put the configuration settings into the package's user settings file instead of the global user settings file.