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

phpcbf run only by command in console, phpcbf is not run on save #25

Open mcmc4519 opened 5 years ago

mcmc4519 commented 5 years ago

Hi! I have windows 10 x64. When I run console command, phpcbf forks fine. But on save, phpcbf is not run.

http://prntscr.com/l4bjrx - it is after save. http://prntscr.com/l4bkef - it is after run command from console.

I have some settings: http://prntscr.com/l4bkxg

Can you help me?

mcmc4519 commented 5 years ago

Also, when I click Format document (Alt + Shift + F) it is not working

Formating is working only by console command

xfudox commented 3 years ago

Same problem here.

When vscode try to format the current document on save i got the error below, but when running the same command (except for the ENOENT word) it runs correctly

image

image

xfudox commented 3 years ago

@mcmc4519 did you find a solution?