Re: "Open Quickly" help!
Re: "Open Quickly" help!
- Subject: Re: "Open Quickly" help!
- From: David Ewing <email@hidden>
- Date: Tue, 14 Mar 2006 13:09:03 -0800
On Mar 13, 2006, at 3:11 PM, Peter Lau wrote:
Hi Dave,
On Mar 13, 2006, at 5:50 PM, David Ewing wrote:
On Mar 12, 2006, at 10:48 AM, Peter Lau wrote:
I have a folder structure of the following:
MyProject/
MyProject.xcodeproj
src/
main.c
headers/
SomeHeaders.h
in main.c, I have a line that says:
#include "SomeHeaders.h"
I can compile without problem since I included "$(SRCROOT)/
headers/**" to the User Header Search Path.
However "Open Quickly" couldn't find SomeHeaders.h when I
hilited "SomeHeaders.h" in the main.c window (that's the XCode
text editor window).
What else do I need to set up to make "Open Quickly" to find
SomeHeaders.h?
I really don't want to add the .h files to the project window, if
possible to make this to work.
Are you using the latest version of Xcode? I believe this issue
was fixed some time ago. (The problem had to do with the "**"
recursive include paths.) If you are using the latest stuff, it
would be good to file a bug so we can see what's happening in your
specific circumstance.
The About Box says Version 2.2.1 (IDE: 656.0, Core: 660, TS 651), I
believe this is the latest GM (not including beta if there's any, I
didn't check).
I am not familiar with the problem you mentioned, is there a
workaround or steps that I can try?
Yup, 2.2.1 is the latest. The problem had to do with the build system
not doing the correct lookup for Open Quickly when recursive header
paths were used. (Builds worked correctly, just not Open Quickly.)
But this brings up another possibility: Are you using the "native"
build system? If you're using Jam-based builds or an external build
system (like makefiles), then Xcode doesn't know enough about your
code to make this work. If that's the case, the best thing to do is
to add the files to your project. (We recommend you add headers to
your project anyway. For one thing, it gives you SCM support for the
files. For another, Open Quickly can find them.)
Dave
_______________________________________________
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