Friday, March 4, 2011

Visual Studio 2008 - jump to line number shortcut

I can go to a specific line number by double clicking in the status bar in Visual Studio. Is there a keyboard shortcut that does the same thing?

From stackoverflow
  • Ctrl + G works for me.

    If it doesn't work for you, you can always map whatever shortcut you want under Tools | Options | Environment | Keyboard.

    EDIT: Yes, as @Brian mentions, the command in this case is Edit.GoTo

    I just realised that the default in C# settings for this command is Ctrl + G, whereas in VB Settings, there is no default keyboard short - it's mapped to show the immediate window - strange I think. I swapped the mappings so that the two environment behave the same.

    Brian : In this case the command is Edit.Goto
  • yep Ctrl+G

    From this answer you can get a nice Shortcut poster.

  • Ctrl + G

    Check out all the key board short cuts at :

    http://www.microsoft.com/downloads/details.aspx?familyid=e5f902a8-5bb5-4cc6-907e-472809749973&displaylang=en

    Metro Smurf : cheeky ;) Giving the correct answer and then changing it to the 'real' answer after the OP marked the first one as accepted.
  • Every IDE or even text editor I have ever used either uses Ctrl+L or Ctrl+G for this purpose.

    I assume this could stand for Ctrl+Line or Ctrl+Goto

0 comments:

Post a Comment