• 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: Setting up searches in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up searches in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)


  • Subject: Re: Setting up searches in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • From: glenn andreas <email@hidden>
  • Date: Wed, 19 Jul 2006 12:57:34 -0500


On Jul 19, 2006, at 12:17 PM, Laurence Harris wrote:


On Jul 19, 2006, at 12:32 AM, Chris Espinosa wrote:


On Jul 18, 2006, at 9:08 PM, Laurence Harris wrote:

How do you tell it to only search header files?

Hit command-option-F (Find In Project...), click "Options..." button
and define your file search criteria if the built in list of criteria
are not good enough for you.

- I think it's ridiculous to have to open a second window to do something as simple as search the headers.


- You didn't answer my question. I already know how to open the Options window, but I don't see any convenient way to limit a search to my headers or the system headers.

You create a Search Set once in the Options window for places that you look frequently, then you can use that search set in any Project Find window in any project just by picking it from the popup.

The responses I'm getting seem to be making my point. So far I've gotten three replies to my question and each time someone points me to the Options window*, but no one has told me how to configure a search of the headers. I'm sure it can be done, but IMO, it would be obvious how to do so if Xcode's Find system were designed better, and it says something that no one has actually explained how to do it.

Let's take a quick stab at it - bring up the options window. We want to make a new "Find Set", so click "Add..." and type in "In Project Headers".


Click the radio button that says "Filter files using regex patterns:". Click in the first column next to the pattern "\.(h|H| hxx|hpp|i)$" so that the value is "=".

Close window.  Done.

Now just select "In Project Headers" in the popup when you want to only search in the project headers.


Glenn Andreas email@hidden <http://www.gandreas.com/> wicked fun! Widgetarium | the quickest path to widgets

_______________________________________________
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


  • Follow-Ups:
    • Re: Setting up searches in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
      • From: Laurence Harris <email@hidden>
References: 
 >Re: [ANN] Xcode + Leopard at WWDC this year (From: Ruslan Zasukhin <email@hidden>)
 >Re: [ANN] Xcode + Leopard at WWDC this year (From: "Andy O'Meara" <email@hidden>)
 >Re: [ANN] Xcode + Leopard at WWDC this year (From: "Sean McBride" <email@hidden>)
 >Re: [ANN] Xcode + Leopard at WWDC this year (From: Laurence Harris <email@hidden>)
 >Re: Re: [ANN] Xcode + Leopard at WWDC this year (From: "Shawn Erickson" <email@hidden>)
 >Re: [ANN] Xcode + Leopard at WWDC this year (From: Laurence Harris <email@hidden>)
 >Re: Re: [ANN] Xcode + Leopard at WWDC this year (From: "Shawn Erickson" <email@hidden>)
 >Re: [ANN] Xcode + Leopard at WWDC this year (From: Laurence Harris <email@hidden>)
 >Re: [ANN] Xcode + Leopard at WWDC this year (From: Chris Espinosa <email@hidden>)
 >Re: Setting up searches in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year) (From: Laurence Harris <email@hidden>)

  • Prev by Date: Re: OT: How are you viewing these messages?
  • Next by Date: Missing file or directory (phantoms)
  • Previous by thread: Re: Setting up searches in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • Next by thread: Re: Setting up searches in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • Index(es):
    • Date
    • Thread