Reputation: 103
When I first installed VS2015 I could comment out code with Ctrl + k. Now it's stopped working, I've reset keyboard mapping, I've reassigned it to a different shortcut but nothing works. Can anyone help? it's such an annoying issue.
Thanks in advance.
Upvotes: 1
Views: 5889
Reputation: 935
If still relevant, this could be a sign that there is a collision in the shortcut itself. E.g., the shortcut is used by multiple commands
Upvotes: 0
Reputation: 1310
Belatedly...
In Visual Studio 2017 Community Ctrl + K + C does this action instead of just Ctrl + K. Ctrl + K + U to uncomment.
According to this binding list, that must have changed at some point for VS 2015;
https://shortcutworld.com/Visual-Studio/win/Visual-Studio_2015_Shortcuts
Upvotes: 4
Reputation: 11
Go on Tools ->
It will reset all keyboard shortcut to the correct map.
Upvotes: 1