Xcode's 'Find in Project' fails to find all instance of the search term
Xcode's 'Find in Project' fails to find all instance of the search term
- Subject: Xcode's 'Find in Project' fails to find all instance of the search term
- From: Markus Hänchen <email@hidden>
- Date: Tue, 3 Mar 2009 12:13:16 +0100
Hi,
I have filed this as a bug report (6631161) but wanted to check with you whether you had seen this behaviour as well and have an idea what is triggering it (and possibly how to avoid it):
Sometimes the 'Find in Project' search fails to find several instances of the search term. Opening the file(s) in which the non-found terms occur prior to starting the search makes Xcode find all instances.
Steps to reproduce:
Reproducible with my set of fifteen .f90 files, search term is 'cp3', it occurs sixteen times in six different files.
(1) Create a new commandline (C++) project in Xcode, drag the source code files into the source section (optionally delete 'main.cpp')
(2) Start a 'Find in Project' search (cmd-shift-F) for 'cp3', using 'In Project', 'Textual', 'Contains', 'Ignore case'
Expected results:
Sixteen instances in six different files.
Actual Results:
Only six instances of 'cp3' in four files are found.
Workaround:
Open all files by selecting the first (or last) file in the source pane and arrow down (or up) through all of them prior to the search. This causes all sixteen instances to be found.
In short, for an instance of the search time to be found it is sufficient (but not necessary!) that the file was opened with Xcode first.
Best,
Markus |
_______________________________________________
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