Visual Studio ShortCut Keys

Ever since the post-Visual-Studio-6 era, I’ve had a difficult time keeping my shortcut keys in order. I am used to using CTRL-G to get to my line numbers almost instantly but none of the new Visual Studios seem to come with this pre-set and, since I don’t have to do it everyday, I forget how. Anyway, here is my snippet on setting shortcuts, specifically CTRL-G for line numbers:

  • First, if you have not already, turn on line numbers: navigate to Tools –> Options –> Text Editor –> All Languages –> then check to display ‘Line Numbers.’
  • Second, again navigate to Tools –> Options –> Environment –> Keyboard –> select “Edit.GoTo” as the command then press “CTRL-G’”under the ‘Press shortcut keys’ and, finally, click “OK.”

Simple, and probably obvious to everyone but myself. 😀