Alex Rivera | Logout

How to jump to the region header from the endregion tag in c# visual studio 2012?

Asked 2012-11-23T00:07:43.403
24

If i have the following

#region
blah;
blahblah;
.....
moar;
#endregion

how can i jump to the top #region label if i see the #endregion tag on my screen?

Is there a short cut?

Edit
Report

1 Answer

26

Ctrl+] will jump between the start and end of blocks. I just tested, and it works for #region blocks for me in VS2010.

Edit: The relevant command is Edit.GoToBrace

answered 2012-11-23T00:17:42.720

Your Answer