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

Re: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)


  • Subject: Re: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • From: Laurence Harris <email@hidden>
  • Date: Thu, 20 Jul 2006 20:15:47 -0400


On Jul 20, 2006, at 4:56 PM, Steve Checkoway wrote:


On Jul 20, 2006, at 1:09 AM, Laurence Harris wrote:


On Jul 19, 2006, at 1:36 PM, Steve Baxter 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

You're the fourth person to tell me to open the Options window and configure the search, and the fourth person who hasn't told me how to configure such a search.

Having never done this before, I bravely opened the options window, clicked the add button, named my set "In headers," clicked on the "Filter files using regex patters: radio buton, clicked just to the left of the first regex in the list (keep in mind I've never opened this window before so it was there by default) which is \.(h|H|hxx| hpp|i)$ and an equal sign appeared. I closed the options window and changed the pop-up-menu from In project to my newly created In headers.

if the built in list of criteria are not good enough for you.

There is no option to search the headers, which I used to use quite frequently in CW. I'm not saying Xcode can't be configured to do it, only that it's not a built-in option or even obvious how to do it. At this point I strongly suspect that once the answer is revealed it's going to have a real geek feel to it. ;-)

If by geek you mean it took 10 seconds of looking at it, then yes.

If looking at it for 10 seconds was all it took I'd have had it set up long ago. ;-) The fact that such a basic option requires an auxiliary window and multiple steps including the use of regexp supports the notion that the design of Xcode has the geek user in mind. Sure, I expect an application like Xcode to have power features and offer lots of control, but I also expect a Mac application to provide simple, intuitive access to commonly used features.


For a long time I couldn't understand why so many people would ask questions on the carbon-dev list for which I could find answers in less than 30 seconds by searching the headers in CW. Now I understand. ;-)

I don't. This couldn't have been easier to set up.

Nonsense. It could have been a checkbox in the main window that didn't require five or six steps in a separate window.


In any case, no matter how easy you find it to set up criteria like this, by requiring the use of the Options window you can't specify multiple criteria. For example, if you set up a find set for the system headers and another for your own headers, you can't use them together to search all headers.

Larry
_______________________________________________
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: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
      • From: Steve Checkoway <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: Steve Baxter <email@hidden>)
 >Re: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year) (From: Laurence Harris <email@hidden>)
 >Re: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year) (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • Next by Date: Re: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • Previous by thread: Re: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • Next by thread: Re: Searching the headers in Xcode (Re: [ANN] Xcode + Leopard at WWDC this year)
  • Index(es):
    • Date
    • Thread