Not working on vscode
Hello to all! I've the latest version of the extension in vscode. I've installed the prettier/plugin-php on the project folder. I've restarted vscode several times.
The extension still not working, when I try to format a php file vscode ask me to install a formatter.
Please provide steps what you do
- Install globally prettier and pretier-php (npm install --global prettier @prettier/plugin-php)
- Install extension Prettier on VSCode
- Install prettier and prettier-php on project folder (npm install prettier @prettier/plugin-php)
- Restart VSCode
- Open project, open a php file and run Format Document
What prettier do you use? Global or local?
I've installed both, how do I check what I'm using?
I have the same problem.
Can you report issue in VSCode plugin repo?
I've created a new issue on prettier-vscode repo
https://github.com/prettier/prettier-vscode/issues/1059
@jmperro Did you get it working? (it works fine for me on Windows 10)
Yeah, using yarn I get it working fine!
Ing. José María Romero Cuny Vector-IT
El sáb., 21 de dic. de 2019 11:58, Glen [email protected] escribió:
@jmperro https://github.com/jmperro Did you get it working? (it works fine for me on Windows 10)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/prettier/plugin-php/issues/1213?email_source=notifications&email_token=AA4OBOAAOPYDCVJF5P35FQDQZZDNBA5CNFSM4JJTVV72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHO7VJQ#issuecomment-568195750, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4OBOEBNE2ZT6FT2NKR2LTQZZDNBANCNFSM4JJTVV7Q .
I guess this can be closed then?
Yeah!
Ing. José María Romero Cuny 0351 155 194412 Vector-IT
El sáb., 21 de dic. de 2019 13:11, Glen [email protected] escribió:
I guess this can be closed then?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/prettier/plugin-php/issues/1213?email_source=notifications&email_token=AA4OBOAFZKBIIGLUV6X7S5LQZZL3LA5CNFSM4JJTVV72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPA3GY#issuecomment-568200603, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4OBOHEHXQQATUHBPLQFBDQZZL3LANCNFSM4JJTVV7Q .