• 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 function definition => wrong file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

jump to function definition => wrong file


  • Subject: jump to function definition => wrong file
  • From: Markian Hlynka <email@hidden>
  • Date: Wed, 23 Jun 2004 21:38:21 -0600

I'm having quite a lot of difficulty with the feature of xcode that lets you command-click on a symbol or function and jump to its definition.

Most recently, I had this problem with a function.

I have several targets. They all share some base code. Further, they each have private files. All the private files are kept in separate directories and groups. For reasons which are too long to explain, some of the private files have the same names. ie, target A will have file foo.h and foo.cc. Target B will also have ITS OWN versions of these files, in the directory for target B.

The problem comes when I switch to target B after working with target A. In the common files, when I select a function name and command-click on it, I get sent to the function definition in foo.cc in Target A, when it should be Target B. I've checked that the files in question are NOT include in the wrong targets.

So, is this that pesky indexing again? May I suggest that the indexer should check the active target, and either only do lookups for symbols within that target. Or, make it an option so I could turn off the weird behaviour for this project. :)

Or, is it an option I can't find?


Thanks,

Markian
_______________________________________________
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.


  • Follow-Ups:
    • Re: jump to function definition => wrong file
      • From: Scott Tooker <email@hidden>
  • Prev by Date: Re: xcode interface, help, prebinding
  • Next by Date: Re: "Open quickly" to new window
  • Previous by thread: Re: addendum: xcode interface, help, prebinding
  • Next by thread: Re: jump to function definition => wrong file
  • Index(es):
    • Date
    • Thread