Xcode's auto completion cannot handle image literals with non-[A-Za-z0-9] characters in their names

Originator:tony
Number:rdar://33694049 Date Originated:03-Aug-2017 16:20
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 9.0 beta 4 (9M189t)
Classification:Other Bug Reproducible:Always
 
Summary:
Xcode’s auto completion for image literals stops working when a non [A-Za-z0-9] character is typed.

Steps to Reproduce:
1. Drag an image into your Xcode project that contains dashes in the name, ie `my-great-image.png`
2. In the Xcode source editor, try to assign a new image literal using the filename you just added, ie `my-` - the `-` is important.

Expected Results:
Xcode’s source editor continues to show auto-completion options once the `-` is typed.

Actual Results:
Xcode’s source editor shows auto-completion options until the `-` character is typed.

Version:
Xcode 9.0 beta 4 (9M189t)

Notes:

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!