Visual Studio Jump to Beginning of Function

前端 未结 7 911
情书的邮戳
情书的邮戳 2021-02-05 00:48

I know that Ctrl+} will take you to the corresponding brace in Visual Studio, but say I\'m in the middle of a gigantic function and I don\'t know where the

7条回答
  •  无人共我
    2021-02-05 01:48

    I have a fresh install of VS2017. As of 15.9.1, the default for me is Alt+Shift+[.

    This is the shortcut for EditorContextMenus.Navigate.GoToContainingBlock. So you may have to execute this shortcut multiple times if you are a few block layers deep, but it'll get you where you want to go.

提交回复
热议问题