0

I have a huge page of code, I was scrolling up and came across #endregion: hoping to quickly find the start of this I pressed F12 on it. No luck.

Is there/what is the best way to basically jump from start to end of a defined region? (collapsing obviously doesn't let you read the contents)

Griknok
  • 384
  • 2
  • 13
  • 1
    `CTRL` + `]` should do the trick. See here: http://stackoverflow.com/questions/13521604/how-to-jump-to-the-region-header-from-the-endregion-tag-in-c-sharp-visual-studio – nolegs Dec 06 '13 at 03:12

2 Answers2

2

You can use Ctrl + ].

Here are some other useful shortcuts using #region:

  • CTRL+M CTRL+M - This collapses or expands the current region
  • CTRL+M CTRL+L - Collapse or expand all regions in the document recursively
  • CTRL+M CTRL+O - Collapse all regions not recursively
shreyansp
  • 723
  • 1
  • 7
  • 16
1

Try the following, going from memory...

Ctrl + ]

dazedandconfused
  • 3,131
  • 1
  • 18
  • 29