• 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
Jump to Definition problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Jump to Definition problem


  • Subject: Jump to Definition problem
  • From: "Michael Stauffer" <email@hidden>
  • Date: Fri, 11 Jul 2008 20:07:07 -0400
  • Importance: Normal

XCode 3
OSX 10.5

Hi,

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.

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".

Tangentially, when I search the documentation for "Jump to Definition" with
the document viewer options set to "Full-Text", "Developer Tools Ref..." and
"Contains", the "Navigating Source Code Files" page doesn't come up with
anything until way down the result list, and with very low relevance.
Strange and not super helpful. Also, in the Xcode User Guide, I don't see
anything like an index, which would be helpful, especially with such odd
relevancy ratings in the search results.

Thanks,
Michael

 _______________________________________________
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: Jump to Definition problem
      • From: Chris Espinosa <email@hidden>
    • Re: Jump to Definition problem
      • From: j o a r <email@hidden>
  • Prev by Date: Re: Build numbers of Xcode 3.1 final?
  • Next by Date: Re: Jump to Definition problem
  • Previous by thread: Re: Build numbers of Xcode 3.1 final?
  • Next by thread: Re: Jump to Definition problem
  • Index(es):
    • Date
    • Thread