Very strange problem. Yes, it is possible to edit the command in Visual Studio. Select Tools
and then Options
. Once the window is shown, select the Environment
option group and then Keyboard
, as shown in the picture below:
There, you can edit the shortcuts:
Edit.CommentSelection
for commenting a selection (Default shortcut: Ctrl+K, Ctrl+C)Edit.FormatDocument
to format the document (Default shortcut: Ctrl+K, Ctrl+D)