question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Why CMD + shift + p not work?

See original GitHub issue

https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode . 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:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
HemantRMalicommented, Jun 15, 2019

Simple: Go to extensions, Select Prettier, UnInstall, use opt(alt)+shift+F (VSCode Native)

1reaction
victorvasujosephcommented, Jun 9, 2018

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 !!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found