jump to function definition => wrong file
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.