Re: searching in headers
Re: searching in headers
- Subject: Re: searching in headers
- From: Brent Gulanowski <email@hidden>
- Date: Thu, 29 Jul 2004 10:10:21 -0400
On Wed, 28 Jul 2004 22:30:57 -0700, Chris Espinosa <email@hidden> wrote:
> On Jul 28, 2004, at 8:39 PM, Heath Raftery wrote:
>
> > On 29/07/2004, at 1:17 PM, Prachi Gauriar wrote:
> >
> >> On Jul 28, 2004, at 9:18 PM, Matt Neuburg wrote:
> >>
> >>> What happened to the cool feature where command-double-clicking a
> >>> word would
> >>> take you to the header where that word was defined? Thx - m.
> >>
> >> It's still there.
> >
> > And still here in V1.2. What version are you using, Matt? Perhaps you
> > need to rebuild your project index, so XCode can find the symbols.
>
> I think you suffer from the misconception that the project index is
> generated at build time. In 1.2 and later, it is not; it's done by a
> separate indexing task.
>
> To reindex your project, select the Project icon in the Groups and
> Files outline view, choose Get Info, and click the Code Sense tab in
> the Inspector. Make sure that Code Sense is on; you can then click the
> Rebuild Index button to rebuild the index.
>
> Indexing takes some time depending on the number of source files in the
> project (more so by the number of system frameworks you include, as
> those have to be indexed, too).
>
> Only when your project is indexed will features like code completion,
> symbolic navigation, the Class Browser, the Project Symbols smartgroup,
> etc. work.
>
Why doesn't Xcode use multiple indices? You'd think that the indices
for the various frameworks and libraries could be produced only when
new versions of said libraries were found. It would certainly save
time and space. I guess it's not quite as efficient since it cannot
"know" which index to look in first, but even if all the libraries
were in one index (or, say, all C/Obj-c libraries in one, all Java in
another) and the project symbols in a separate index, two lookups
should be acceptable. Especially if they are done in separate threads.
O(2) isn't really worse than O(1), if I have that correct.
--
Brent Gulanowski
http://www.boredastronaut.com
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.