Auto-complete for async methods - please include type information, e.g. NSURLSession data

Originator:indiekiduk
Number:rdar://FB9827939 Date Originated:31/12/2021
Status:Open Resolved:No
Product:Xcode Product Version:13.2 (13C90)
Classification:Suggestion Reproducible:
 
Hi I'd like to suggest including type info for auto complete of async methods, e.g. NSURLSession data async, see attached screenshot.

I'd like the highlighted row data(for:delegate) to instead appear as:
data(for request:URLRequest, delegate: URLSessionTaskDelegate?)

The same way it appears for the non async methods like dataTask above the highlighted row.

Thanks

Screenshot:
https://i.imgur.com/WcIO6HL.png

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!