• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can a two-level search be done in Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Can a two-level search be done in Xcode? (From: James Bucanek <email@hidden>)
 >Re: Can a two-level search be done in Xcode? (From: Scott Fraser <email@hidden>)

  • Prev by Date: Re: Xcode rebuilding from scratch
  • Next by Date: Unable to reset CompileC for C++ (-x c++)
  • Previous by thread: Re: Can a two-level search be done in Xcode?
  • Next by thread: Unable to reset CompileC for C++ (-x c++)
  • Index(es):
    • Date
    • Thread