plugin-php icon indicating copy to clipboard operation
plugin-php copied to clipboard

Not working on vscode

Open jmperro opened this issue 7 years ago • 11 comments

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.

jmperro avatar Nov 06 '19 11:11 jmperro

Please provide steps what you do

alexander-akait avatar Nov 06 '19 11:11 alexander-akait

  1. Install globally prettier and pretier-php (npm install --global prettier @prettier/plugin-php)
  2. Install extension Prettier on VSCode
  3. Install prettier and prettier-php on project folder (npm install prettier @prettier/plugin-php)
  4. Restart VSCode
  5. Open project, open a php file and run Format Document

jmperro avatar Nov 06 '19 12:11 jmperro

What prettier do you use? Global or local?

alexander-akait avatar Nov 06 '19 12:11 alexander-akait

I've installed both, how do I check what I'm using?

jmperro avatar Nov 06 '19 12:11 jmperro

I have the same problem.

robo-wg avatar Nov 15 '19 10:11 robo-wg

Can you report issue in VSCode plugin repo?

alexander-akait avatar Nov 15 '19 10:11 alexander-akait

I've created a new issue on prettier-vscode repo

https://github.com/prettier/prettier-vscode/issues/1059

jmperro avatar Nov 15 '19 11:11 jmperro

@jmperro Did you get it working? (it works fine for me on Windows 10)

glen-84 avatar Dec 21 '19 16:12 glen-84

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 .

jmperro avatar Dec 21 '19 18:12 jmperro

I guess this can be closed then?

glen-84 avatar Dec 21 '19 18:12 glen-84

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 .

jmperro avatar Dec 21 '19 18:12 jmperro