junstyle / vscode-php-cs-fixer

PHP CS Fixer extension for VS Code
https://marketplace.visualstudio.com/items?itemName=junstyle.php-cs-fixer
MIT License
355 stars 43 forks source link

php-cs-fixer.exclude not working with format on save #173

Closed jassMarok closed 2 years ago

jassMarok commented 2 years ago

I am trying to exclude a folder from the fixer but format on save still performs the action on these files, my exclude looks like this "php-cs-fixer.pathMode": "override", "php-cs-fixer.exclude": [ "app/Http/folderToExclude/**/*.php", ]

junstyle commented 2 years ago
"**/app/Http/folderToExclude/**/*.php"
pimvanderheijden commented 2 years ago

Took me 30 mins of my live to find this. Cool project!