0

I have this program all of a sudden. I was coding fine in visual studio and i guess i pressed a combination which changed a setting. I always used ctrl + r to run the program, as soon as im ready to test something i press ctrl + r and the program ran. But for pass few hours when i press ctrl + r it shows :

ctrl + r was pressed. waiting for second key of cord.

I tried to reset all keyboard shortcut and had no luck. Can anyone tell me how to fix this issue please its really annoying.

And oh im programming in c++ and used visual studio for quite a few months and it worked perfectly in visual studio 2017 without any issues until now.

jww
  • 97,681
  • 90
  • 411
  • 885
  • Strange, I've always used Cntrl+F5. Just F5 runs but then closes the console again (assuming it's a console program). Cntrl keeps the console open so that you can see the output your program gave. – TamaMcGlinn Oct 13 '18 at 22:19
  • 2
    If you have accidentally set keybindings, you can look at them in your currentsettings.vssettings file, located in your profile. – Eljay Oct 13 '18 at 22:20
  • Possible duplicate of [How do I change my development environment to a different language in Visual Studio?](https://stackoverflow.com/questions/967309/how-do-i-change-my-development-environment-to-a-different-language-in-visual-stu) – Matthieu Brucher Oct 13 '18 at 22:40
  • Tools > Customize > Keyboard. Click on "Press shortcut keys" and type Ctrl+R. The combobox at the bottom shows all commands it is bound to. – Hans Passant Oct 13 '18 at 23:21
  • 1
    Possible duplicate of [How can I change the keyboard shortcuts in Visual Studio?](https://stackoverflow.com/q/21740261/608639) – jww Oct 14 '18 at 02:25
  • ah ok, thanks a lot guys, i really appreciate it. – Usain Hulk Oct 14 '18 at 17:54

1 Answers1

2

Never heard of using CTRL+R to run a program in Visual Studio.

Use F5 to run with debugger or CTRL+F5 to run without debugger attached.

Swordfish
  • 12,971
  • 3
  • 21
  • 43