Method for copying filename:linenumber in Xcode

Originator:google
Number:rdar://10505001 Date Originated:30-Nov-2011
Status:Open Resolved:
Product:Developer tools Product Version:4.2
Classification:Enhancement Reproducible:
 
In Xcode, I think it would be useful (for notes, bug reports, etc.) to be able to easily copy the current location to the clipboard in a text-based format.

For example, if I wanted to reference some code in an email, I could control-click in the gutter of the Xcode source editor (on the line number I wanted to copy), and I could select "Copy file location". The clipboard would then have "main.m:10".

Further, a unified "go to" menu item that allowed me to paste a "<filename>:<linenumber>" would be great.

Thanks!

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!