I've recently updated my VSCode and most of its shortcuts don't work anymore. I tried to reinstall my VSCode but it didn't work. I've checked if it's affected by any other system shortcuts but I wasn't lucky enough and none of them worked for me. Some shortcuts like: ctrl d, ctrl shift k, etc.
CodePudding user response:
There could be many reasons. First check that if there is any other application overrides the shortcuts or not.
CodePudding user response:
I found a solution for this problem.
- go to :
File>Preferences>Keyboard Shortcut
- Then from upright of the page select the icon that says
open keyboard shortcuts
. Like below
- In the
keybindings.json
tab you may see something like this:
Replace everything with the settings from the following links:
if you are using windows
copy settings from this link: windows.keybindings.json
for mac
: macos.keybindings.json
for linux
: linux.keybindings.json
and if you want to see all available options
see this link: vs-code-default-keybindings
- after saving the file, your vscode shortcuts will work properly again.