Allow method autocompletion after first parameter

Originator:bjhomer
Number:rdar://13193396 Date Originated:11-Feb-2013
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 4.6
Classification:UI/Usability Reproducible:Always
 
11-Feb-2013 03:16 PM BJ Homer:
Summary:
It's annoying to try to autocomplete -tableView:willDisplayCell:forRowAtIndexPath:.

Steps to Reproduce:
In a UITableViewController subclass...
1. Type "[self tableView"
2. Note that there are tons of autocompletion suggestions, and that the "willDisplayCell:" one is way down at the bottom.
3. Keep typing, so that it says "[self tableView:willDis"

Expected Results:
You methods whose selectors start with "tableView:willDis". Selecting it inserts the placeholders, etc. This probably should not happen if -"tableView:" is a known method on the class, however, since in that case "willDis" might reasonably be a parameter to the method. But if no method exists such that this would be the last parameter, autocompletion should take priority.

Actual Results:
You see none. To see the completions, you have to type "[self tableView:blah willDis"

Regression:
None

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!