Jump to content
  • Advertisement
Sign in to follow this  
BeanDog

Searching inside collapsed code blocks?

This topic is 4507 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I often use the #region's in C# to make large source files more manageable. The advantage is that these regions are collapsed when the file opens, so the file's not so imposing when looking for a certain area of code. This is my problem, though. Often I open such a file and want to do a text search for some code that's buried in there somewhere. Every time I do, I have to right click the document->Outlining->Toggle All Outlining to open up everything for a search. Is there a way in Visual Studio (2003? 2005?) to search inside collapsed code blocks?

Share this post


Link to post
Share on other sites
Advertisement
"Search Hidden Text" in the search options. (Note: This will search both hidden and "unhidden" which is probably what you want. I don't know of any time you'd only want to search hidden by itself... heh)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!