문제

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)

도움이 되었습니까?

해결책

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

다른 팁

Try the following, going from memory...

Ctrl + ]

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top