Installed with VSCode 1.9.1 on Ubuntu, reloaded, CTRL-SHIFT-P brings up VSCode's command palette, it doesn't format the code. Typing "prettier" in the command palette doesn't bring up anything. VSCode's Problems and Output panes don't show anything about Prettier, either.
Exact same problem with VSCode 1.10.2 on Mac OS. I've been using other VSCode plugins like Standard without problem. What's the trick to get prettier-vscode working?
Also, CMD-SHIFT-P is by default mapped to the command palette. Why use this for formatting?


Same here. My OS - Ubuntu. It's a bummer...
It is bound to Format Document in Command palette. CTRL+SHIFT+I by default on Linux
Ahhh, that works. And ALT-SHIFT-F on the Mac. Thank you @CiGit!
Is CMD-SHIFT-P for Windows?
@CiGit any idea why when I format document with ctrl+ shift +i the formatting differs from when I format the same document via prettier CLI with --write? @pekeler could you check this on your linux setup, too?
@pekeler Windows: SHIFT+ALT+F by default
@dKab It may be:
I'll close that issue. It has been answered and the README mentions it.
@dKab Please open a new issue if needed
The same on Windows 10. I use eslint-plugin-prettier with eslint-config-prettier and when I format document from vscode command palette (which you are saying invokes prettier when your extension is enabled) eslint still shows errors. However when I run prettier from command line eslint is silent.
I installed Prettier and restarted, but there is no >Format Document command. OSX. option + shift + F works, but think it's using the Visual Code default formatter..

This plugin registers itself as a formatter. Therefore it works using the built in Format Document
OK, thanks
Ahhh, that works. And ALT-SHIFT-F on the Mac. Thank you @CiGit!
Is CMD-SHIFT-P for Windows?
ALT-SHIFT-F for Mac. Why not update the Readme?
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.
Most helpful comment
Ahhh, that works. And ALT-SHIFT-F on the Mac. Thank you @CiGit!
Is CMD-SHIFT-P for Windows?