kokororin / vscode-phpfmt

Integrates phpfmt into VS Code
https://marketplace.visualstudio.com/items?itemName=kokororin.vscode-phpfmt
BSD 3-Clause "New" or "Revised" License
129 stars 30 forks source link

run phpfmt failed #37

Closed phuduc1193 closed 4 months ago

phuduc1193 commented 6 years ago

Hi I just got this error recently. I'm not sure what I did wrong. Can you help me resolve it? Please let me know what should I do to give you more information.

Otavio-Parraga commented 6 years ago

I've got the same error in my vscode, already tried to fix it but nothing worked.

kokororin commented 6 years ago

Cannot reproduce. Delete folder ~/.vscode/extensions/kokororin.vscode-phpfmt-1.0.29 and reinstall may fixed.

ivolvicente commented 6 years ago

I have the same problem, with last vscode version and windows 10.

I find that if my username and username folder have at least a space phpfmt will fail.

In my case i have created a folder junction to test the comand in cmd, but it work to if the username folder get changed to "username~1" like its use as input file.

image image

kokororin commented 6 years ago

Can you confirm the problem on 1.0.30?

phuduc1193 commented 6 years ago

Thank you it's no longer an issue for me.

PrinceOfAbyss commented 4 months ago

This error is brought back in the last month. Currently on v1.1.39 and the issue started happening again. Any filename with a space in the filename (or parentheses) causes the same issue.

kokororin commented 4 months ago

This error is brought back in the last month. Currently on v1.1.39 and the issue started happening again. Any filename with a space in the filename (or parentheses) causes the same issue.

Thank you for reporting this issue. It should be resolved in version 1.1.40.

PrinceOfAbyss commented 4 months ago

Thank you so much for the quick fix! I really appreciate it! I updated to the new version and it's fixed!