ramnz
ramnz

Reputation: 631

search on vs2010 skips regions

when searching within VS 2010 it does not search within regions sometimes. (is a C# code)

Any on else having this problem any comments are welcome. Thanks

Upvotes: 0

Views: 169

Answers (1)

Jay Riggs
Jay Riggs

Reputation: 53593

The "Search hidden text" checkbox has indeed been removed from VS2010. However, VS should be searching within collapsed regions by default now, so I don't understand why you're having problems.

The removal of the option to not search hidden text in the Find dialog has been filed as a bug over at Microsoft Connect.

Microsoft responded:

... We intentionally removed the "Search hidden text" checkbox from the Find and Replace dialog and changed Find's behavior to always search hidden text. ...

Microsoft invited justification for the reinstatement of the feature and there are a number of posts explaining why it's useful (posts I agree with), but the issue is currently statused as 'Closed as By Design.' Microsoft did say they'll add the feature to the list of suggestions though not necessarily as an option in the Find dialog.

Confusingly enough, MSDN help on Quick Find, Find and Replace Window describes the checkbox and its behavior as if it's still there (and a Community Content comment correctly notes the feature isn't present).

Upvotes: 1

Related Questions