Prettier-vscode: Sorry, but there is no formatter for 'php'-files installed.

Created on 9 Jan 2018  路  3Comments  路  Source: prettier/prettier-vscode

May seem an obvious fix but i'm not sure where to go from here. when I attempt to format a page of PHP, I get the above error.

Have NPM / Node / Homebrew installed as well, is there a separate VSCode package that I need to grab?

locked

Most helpful comment

there are php formatter if search in extension toolbar

All 3 comments

Prettier doesn't support PHP yet. There's a work in progress plugin at https://github.com/prettier/prettier-php, but it hasn't been published yet.

there are php formatter if search in extension toolbar

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings