Re: Can a two-level search be done in Xcode?
Re: Can a two-level search be done in Xcode?
- Subject: Re: Can a two-level search be done in Xcode?
- From: Chris Espinosa <email@hidden>
- Date: Wed, 12 Oct 2005 11:31:19 -0700
On Oct 12, 2005, at 11:23 AM, Scott Fraser wrote: On Oct 12, 2005, at 11:03 AM, James Bucanek wrote:
Scott Fraser wrote on Wednesday, October 12, 2005:
In other IDE's, I've been able to do a 2-level search by directing the output of one search to a file, and then searching that file for other things of interest. Can something similar be done in Xcode? Yes, I could probably construct a single regular _expression_ that included the first target, and excluded the second, but I'm not that clever. Or maybe I'm more lazy than clever? ;-)
Perform your search in the Project Find window. The results of your find will appear in the Find Results smart group of the project. Select the results in that group, and look at the details pane (hide the editor if you must). Now go to the Search field in the project window's toolbar (add it if you taken it out). Enter any term and the details list will be limited to only those lines matching the search field text. Essentually, you're searching the results of the Find. -- James Bucanek
That's really great. I never noticed that the text showed up in the Project window like that. I'd only looked at the Project Find window. Thanks.
Now for the tricky part. Any way in the second step to find lines that do not include a particular string?
Sure! After you enter a match string in the filter bubble, pull down the magnifying glass, and you get Wildcard or Regex options.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden