Swift: Xcode text editor mode where inferred types are shown

Originator:apontious
Number:rdar://19200425 Date Originated:12/9/2014
Status:Closed Resolved:Duplicate/15897362
Product:Developer Tools Product Version:6.1.1
Classification:Enhancement Reproducible:Not Applicable
 
Summary:
When browsing unfamiliar code, it would be very useful to be able to temporarily enter a mode where the full definitions of all inferred types are inserted into the Swift code file for viewing.

Steps to Reproduce:
1. Open an unfamiliar Swift code file.
2. Hold down Option key (or exact method up to you)

Expected Results:
For all inferred types, the actual type is inserted where it would be if it had been typed into the file in the first place, possibly using some sort of special highlighting such that it's clear that this is not normal text content.

When mode is exited, code file returns to normal state.

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!