Why CMD + shift + p not work?
See original GitHub issue .
The document says:
1. CMD + Shift + P -> Format Document
OR
1. Select the text you want to Prettify
2. CMD + Shift + P -> Format Selection
I Follow the documentation, CMD + Shift + P didn’t work.
But option + shift + F (the vscode default format keybinds) work.
I see CMD + Shift + P is the default key binding of vscode, for ‘workbench.action.showCommands’,
I am very confused why prettier use this and produce a conflict. and, how to resolve the problem.?? Help…
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
CMD + Shift + P not opening command palette : r/MacOS
I am new to Mac and trying to open the command palette, apparently you do this by clicking CMD, Shift & P at...
Read more >VSCode Command Palette (Ctrl + Shift + P) keyboard ...
Make sure Ctrl+Shift+P is on this list. Another issue that could cause this is your VSCode json settings file is read only or...
Read more >Cmd + Shift + anything shortcuts stopped working
First, check System Preferences > Keyboard > Keyboard Shortcuts to see if cmd-shift-N has been mapped to anything.
Read more >Keyboard Shortcuts Not Working: Solved
If your keyboard shortcuts are not working, double-check if it is one of these ... In general, the CMD key on a Mac...
Read more >Change a conflicting keyboard shortcut on Mac
Note: Keyboard shortcuts in apps may vary depending on the language and keyboard layout you're using on your Mac. If shortcuts don't work...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Simple: Go to extensions, Select Prettier, UnInstall, use opt(alt)+shift+F (VSCode Native)
You can also change it to your desired key set. Press the ‘Setting’s icon’ in the left end bottom corner and select->keyboard shortcuts. Then type in ‘Format Document’. Click the edit icon in the right and select the desired key set using your keyboard. Happy coding !!