The keyboard shortcut for the command pallet (Ctrl+Shift+P) has stopped working in VS Code. When I go to File -> Preferences -> Keyboad Shortcuts I can confirm that only the default keybindings are present for the Ctrl+Shift+P key combination.
However, when I click Record Keys and type Ctrl+Shift+P then only "Ctrl+Shift" shows in the keybindings search box. So it seems that VS Code is never receiving the P when Ctrl+Shift is held down, but it does receive the P for other combinations (for example, Ctrl+P).
Clearly something is preventing VS Code from receiving the full key combination. How do I identify it?
Given the additional information (in a comment) that Firefox also cannot see Ctrl+Shift+P, it seems clear that the problem does not lie with VSCode itself.
That leaves three main possibilities:
To tell which, first reset the keyboard software stack. That can be done in various ways, in order of increasing intrusiveness and completeness:
If one of the above steps does resolve the problem, then that's good in the short term, but the problem may recur. Options in that case include upgrading the keyboard drivers, switching keyboards, and upgrading or switching operating systems.
If the problem persists even with a different keyboard, then I would suspect hypothesis #2 is correct. It's hard to provide specific advice on how to further diagnose that without knowing more about your setup, but the basic approach I would take is to stop running programs one by one, checking each time if the key sequence now works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With