ProfK
ProfK

Reputation: 51094

Why does VS2012 think my command keys are me attempting to edit code?

E.g. when I hit Ctrl-D, I for an immediate window, I have to move my mouse pointer out of the code window, or I get told I'm not allowed to edit code while it is running. I've only recently encountered this.

Upvotes: 3

Views: 144

Answers (1)

Dom
Dom

Reputation: 40501

Not knowing how your Visual Studio is setup, I cannot say. However, try doing the following:

  • Open Visual Studio 2012 then go to Tools > Options...

Tools

  • In the Options menu, go to Environment > Keyboard.

enter image description here

  • From there, click inside the "Press shortcut keys:" input box and, using your keyboard, type CTRL + D. Once you do that, it will show you what command is currently using that shortcut.

enter image description here

  • Finally, type in the command name in the "Show commands containing:" input box. Click the command name from the list below, then click 'Remove'.

enter image description here

Hope this is what you are looking for! Let me know if you have any other questions!

Upvotes: 2

Related Questions