Re: Xcode 4: Navigation to Header Files
Re: Xcode 4: Navigation to Header Files
- Subject: Re: Xcode 4: Navigation to Header Files
- From: Andreas Grosam <email@hidden>
- Date: Tue, 19 Apr 2011 11:01:01 +0200
On Apr 19, 2011, at 4:07 AM, Joar Wingfors wrote:
>
> On 18 apr 2011, at 09.56, David Duncan wrote:
>
>> On Apr 18, 2011, at 6:32 AM, Andreas Grosam wrote:
>>
>>> This seems trivial, but I simply cannot make it work:
>>>
>>> How can I navigate to a header file, which is mentioned in an #include directive?
>>
>> Command-Click will navigate to a header using your default navigation settings. Command-Option-Click and Command-Double Click will use your alternative navigation preferences.
>
>
> In addition, you can find all includes / includees in the "related items" pop-up menu, which is at the very left of the jump bar above the editor.
>
> j o a r
David, joar thank you very much for the reply.
I did know of these methods - they just didn't seem to work anymore in my project. But apparently I found the source of the problem:
After leaving the computer resting over night, this same feature did magically work again. The assistant editor also showed the included files again.
The project has eight targets, and severals have a prefix header which includes a bunch of boost headers (spirit, phoenix, fusion, lambda, etc.). That is, this is extremely heavy work for the indexer. So, it seems, the indexer was just not ready to support navigation - even after about, say, 40 minutes.
There was also no indication that the indexer was still busy. Xcode did not consume much CPU power and the iTunes like action indicator did not mention any activities as well. So, there could be some issue, which prevents the indexer to finish properly - or a display issue. In this case I would also appreciate some message from Xcode saying something like "Navigation not yet available, please wait".
I will test, how long navigation will not work after a "clean".
Regards
Andreas
_______________________________________________
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