soderlind / vscode-phpcbf

PHP Code Beautifier and Fixer for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=persoderlind.vscode-phpcbf
GNU General Public License v3.0
28 stars 10 forks source link

Other folder settings shouldn't bleed over #10

Closed WraithKenny closed 6 years ago

WraithKenny commented 6 years ago

Currently, the extension loops through all of the project's folders, and attempts to find the executable in all of them. On one hand, this is a nice redundancy, but on the other, it doesn't seem like correct behavior, if you have different configurations in each folder and would rather a mistake (like you forgot to run 'composer install' in one) to error out.

soderlind commented 6 years ago

Again, agree. Did it due to a misunderstanding on where to look for the file.