Re: Code Index with "*.hh" Files
Re: Code Index with "*.hh" Files
- Subject: Re: Code Index with "*.hh" Files
- From: Jeremy Pereira <email@hidden>
- Date: Tue, 4 Mar 2008 16:28:28 +0000
On 2 Mar 2008, at 04:08, Colin A. Smith wrote:
On 3/1/08 19:41, "Bill Royds" <email@hidden> wrote:
Thanks for the helpful comments. It turns out that the problem is
not with
the file extension, but the fact that all of the headers are
included using
<> instead of "". For instance:
#include <TestClass.hh>
But that means that Xcode is doing exactly what the C/C++ standard
stays.
Include files with <> are supposed to be system files and should not
be indexed.
I wouldn't all possible system headers to be included in any cross
reference.
What you need to do i change your source files to use the correct
#include syntax.
Bill Royds
I'm compiling/editing files from a large code-base that's actively
developed
by many other developers. The coding standards are already firmly
established and unchangeable.
I certainly would not want Xcode to index system headers. However, I
would
like to define a limited number of directories within my project
that the
Xcode indexer will search when trying to resolve files included with
the <>
syntax. It might slow indexing performance down slightly for my
project.
However, it would not change existing indexing behavior or
performance if
the list of search directories was empty by default.
You could create a c++ file in your project that does nothing except
include the headers you want indexing using the correct quotes. I
haven't tried it, but it might work.
-Colin
_______________________________________________
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
_______________________________________________
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