Re: Jump to Definition problem
Re: Jump to Definition problem
- Subject: Re: Jump to Definition problem
- From: Chris Espinosa <email@hidden>
- Date: Fri, 11 Jul 2008 17:22:52 -0700
On Jul 11, 2008, at 5:07 PM, Michael Stauffer wrote:
I'm having trouble with the "Jump to Definition" command. I'm
working in a
project that's a copy from an older version (XCode 2.4 project),
placed in a
new folder. I've made a new source directory and have copied the old
sources
to it, and have updated the project to be working from this new dir,
and
that all seems fine.
But when I use Jump to Definition on a symbol, it finds both the new
source
file and old source file, and shows me both in a selection box.
Anyone know
why it would be looking in the old source folder, and how can I get
it to
stop? Where might refs to the old source files be hiding in the
project?
I've checked the search paths for both the project and target, and
they look
good.
Project > Edit Project Settings > General tab > Rebuild CodeSense
Index. You copied over the old index which indexed the files in the
old location, then the index reindexed the files in the new location,
adding them to the copied index.
I'm looking at "Navigating Source Code Files" in the Xcode docs
(BTW, Table
18-1 seems out of date?). Under the section "Shortcuts for Finding
Text and
Symbol Definitions", it seems to say that Jump to Definition uses
the last
set of serach options for searching. Looking at the options in my
Project
Find window, I see that it's set to "Search in open projects", and
under
that, "All files in this project" and "Project files only", then
"Source
files only".
I believe those options affect Find Definition, not Jump to
Definition. Subtle difference, admittedly, but they are different.
Chris
_______________________________________________
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