Re: How to "refresh" Find In Project info in Xcode 3.1.3?
Re: How to "refresh" Find In Project info in Xcode 3.1.3?
- Subject: Re: How to "refresh" Find In Project info in Xcode 3.1.3?
- From: Howard Moon <email@hidden>
- Date: Thu, 17 Dec 2009 13:36:57 -0800
How do I force Xcode to refresh all its Find In Project
information in a C++ project? When I'm making a lot of edits, the
Find In Project and Find Selected Text In Project features quickly
get out of synch with the actual code. They still find the text
I'm looking for, but double-clicking on them doesn't take me to
the right place. I often end up going to the individual files
shown in the Find Results window and doing another search within
that specific file to get to the text I'm looking for. Is there a
way to refresh this information immediately?
Project > Edit Project Settings > General > Rebuild CodeSense Index
Note that if you have two project with the same name (e.g. two
branches of the same repository) and you are using shared build
directories, the project indexes of the two projects will step on
each other, which may be the source of what you're seeing.
Rebuilding the Code Sense index whenever you change versions of
projects with the same name is a good practice.
That seems to have worked. I'm not using source control, if that's
what "repository" refers to. In any case, I wonder if the problem
is that Xcode is simply falling behind in analyzing the changes I've
made, because this happens a lot when I'm doing a lot of editing. I
can see some of the member variables of my classes highlight in
blue, but other remain black for a while. They're all blue now. If
rebuilding the Code Sense index causes Xcode to "catch up", then
that'll do nicely, thanks,
I was mistaken... that didn't work. I had shut down my computer prior
to doing this, and my initial tests showed everything was ok. But
after editing for a little while, my searches are giving me bad
results again (jumping and highlighting incorrectly), and some of my
member variables in the header files are not the same blue-gray color
as others.
Rebuilding Code Sense just now did nothing at all to fix the problem.
-Howard
_______________________________________________
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