xcassets search should take into account spaces and multiple words

Originator:rebello95
Number:rdar://33670491 Date Originated:01-Aug-2017 10:55 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9 beta 4
Classification:UI/Usability Reproducible:Always
 
Summary:
This is a duplicate of radar #33670140

Currently if you search in an xcassets directory in Xcode, if you have spaces in your file names not all words you type taken into account. It appears that only the last word is taken into account


Steps to Reproduce:
1. Create a new project, add multiple images with similar names with spaces in them
2. Search for a unique part of one of the assets, with a shared word as well

Expected Results:
Since you typed a unique part of one of the assets, fuzzy finding should exclude all other assets that don't include that name

Actual Results:
Many assets are shown that include one or other of the words you've typed, but not including both.

Version:
Xcode 9 beta 4

Notes:
The behavior here is complicated and seems to have changed from Xcode 8 to 9. See the attached screenshot here for an example.

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!