Prettier-vscode: Shortcut for Windows users?

Created on 25 May 2017  路  9Comments  路  Source: prettier/prettier-vscode

CMD + shift + P does not exist for windows 10 users. Currently the only way I know of to run a new command is to do format on save (which may not be desired)

WIN + shift + P switches display modes
No other combinations work

Do y'all know of another work around? maybe make a hotkey to run it?

locked

Most helpful comment

SHIFT + ALT + F works for me on Windows 10.

All 9 comments

Seems you are searching for the command palette. CTRL + SHIFT + P on windows/linux

SHIFT + ALT + F works for me on Windows 10.

Could we add this to the docs? The same question came up when I was extolling the virtues of Prettier on a call with Windows VS devs, and I'd only used it so far in VS Code on a Mac.

Command palette is on VSCode's start screen:
image
From there you can find any shortcut.

We could add Format Document default shortcut for various OS to the doc. I'm not sure if those shortcuts are also Keyboard dependent (for reference this screenshot is for Windows, fr_CH QWERTZ kb)

The best way is to go to File > Preferences > Keyboard Shortcuts and search for the work format.

Feel free to reopen if there is something new

@GollyJer Thanks for Shift+Alt+F which also works on OSX

For whatever reason on my ubuntu system I have to use Ctrl + Shift + I

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

Related issues

screendriver picture screendriver  路  4Comments

mshehadeh picture mshehadeh  路  4Comments

Tanmccuin picture Tanmccuin  路  3Comments

GantMan picture GantMan  路  3Comments

SkeLLLa picture SkeLLLa  路  4Comments