Xcode 4: no option to restrict batch find to a particular group

Originator:bewebste
Number:rdar://10462648 Date Originated:17-Nov-2011 10:03 AM
Status:Duplicate/8103777 Resolved:
Product:Developer Tools Product Version:Xcode 4.2/build 4D199
Classification:Enhancement Reproducible:n/a
 
Summary:
When using the Find Navigator in Xcode 4, there is not currently a way to perform a find, restricting the files to be searched to a particular group or groups in the current workspace

Steps to Reproduce:
1. Press command-shift-F to bring up the Find Navigator
2. Click the magnifying glass in the search field and select "Show Find Options"
3. Select "Custom…" from the "Find In" pop-up menu in the find options
4. For the search scope criteria, select "Location", then in the second pop-up menu, select "is within group"
5. In the third pop-up menu, select the group you would like to search

Expected Results:
This should allow me to perform a find just in files within the selected group

Actual Results:
The pop-up menus described in steps 4 and 5 do not exist (yet).

Regression:
Xcode 3 used to have a "Find in Selection" option for its batch find, which would let you select the groups you want to search in the groups and files navigator. This paradigm would be tricky with the new Xcode 4 interface, so I think adding things to the search scope as described would make more sense.

Notes:
A partial workaround can be to specify a folder instead of a group, but this only works for groups which are organized to reflect folders within your source directory. There is no way to subdivide things further right now.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!