Opening all regions quickly
Hey there,
I read in the useful tips thread about collapsing all regions with the (ctr M O) shortcut, but is there one to open them all?
I am debugging a program for a company, and often times I find that I want to do a text search, and the region's tend to hinder this.
Thanks
- Josh
Re: Opening all regions quickly
I believe Ctrl+M, Ctrl+L will expand all but the auto-generated code region (thankfully) and then collapse the whole class on the second go. All the shortcuts for regions are on the menu under Edit -> Outlining.
Re: Opening all regions quickly
Re: Opening all regions quickly
If you press Ctrl-A that highlights the entire file, then hit <tab> to open all regions (including comment regions).
That's not an official combo I don't think but it certainly does work, and it also forces a reformatting of the code.
Re: Opening all regions quickly
That actually works perfectly.
This will make things a lot easier.
Re: Opening all regions quickly
I just re-read your original post. You may not be aware but in the Find and Replace dialogue there is a checkbox that indicates whether the search should include hidden (collapsed) text.
Re: Opening all regions quickly
hrmmm, I cannot find this option.
but I am going to assume you are right.
*Edit*
Nevermind. =)