Autocompletion for "@interface" in ".m" files should default to class extensions

Originator:satsumac
Number:rdar://10772279 Date Originated:Jan 29th 2012
Status:Open Resolved:?
Product:Developer Tools Product Version:4.2.x
Classification:Enhancement Reproducible:n/a
 
Summary:

When typing "@interface" in ".m" implementation file the autocompletion should default to category declarations, not class declarations. I hardly ever want a class declaration inside my ".m" file. Class extensions on the other hand? Hell yeah, hand 'em over!
Either way both should be provided for auto completion (currently only class declarations are) and preferably it should default to class extensions

Steps to Reproduce:

Type "@interface" in ".m" implementation file and hit <tab> for code completion.

Expected Results:

@interface <# class name #> ()
    <# methods #>
@end

Actual Results:

@interface <# class name #> : <# superclass #> {
@private
    <# instance variables #>
}
@end

Regression:

Notes:

Kind of related: rdar://10772286

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!