Autocomplete when overriding methods only works for the first parameter

Originator:darthdeus
Number:rdar://14576695 Date Originated:29-Jul-2013 05:26 PM
Status:open Resolved:
Product:Developer Tools Product Version:all
Classification:UI/Usability Reproducible:always
 
Summary:
I want to be able to easily autocomplete method long method names, such as

- (NSView *)tableView:(NSTableView *)tableView viewForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row;

The only way to do this currently is to type "- tableView" which displays a large amount of methods and forces you to pick one using the arrow keys, instead of typing the other parameter name, such as "- tableView view".


Steps to Reproduce:

1. open any class which has large enough number of methods with similar name, for example subclass of NSTableViewDelegate or UITableViewDelegate
2. type "- tableView<ctrl + space>"
3.  autocomplete appears
4. keep tying ":did"
5. autocomplete disappears, instead of narrowing down the search


Expected Results:

I would expect to be able to narrow down the autocomplete for additional parameters, so that " - tableView:cellFor" would offer me "- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath" instead of closing the autocomplete.

It would be even better if I could just type "cellForRow" and have it work as well.


Actual Results:
Autocomplete closes when you type more than the name of the first argument


Regression:
It occurs in all versions

Notes:
Any alternative solution would be great as currently the only way is to manually look through a large list of methods using mouse/arrow keys and find the one you need.

Comments

This is a follow up to Bug ID# 14576695. This bug has been closed as a Duplicate.

By darthdeus at Aug. 3, 2013, 7:54 a.m. (reply...)

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!