Visual Studio 2008 - jump to line number shortcut

后端 未结 4 724
情歌与酒
情歌与酒 2021-02-04 00:07

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?

相关标签:
4条回答
  • 2021-02-04 00:39

    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.

    0 讨论(0)
  • 2021-02-04 00:43

    Ctrl + G

    Check out all the keyboard shortcuts at:

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

    0 讨论(0)
  • 2021-02-04 00:55

    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 讨论(0)
  • 2021-02-04 00:56

    Yep Ctrl + G.

    From this answer you can get a nice Shortcut poster.

    0 讨论(0)
提交回复
热议问题