Hi all
I've been using the Objective-C bundle for about a year now for all my Cocoa coding. It has a lot of nice features, but there are few shortcomings and I was wondering if anyone is actively working on this.
A few things off the top of my head:
- No completion of new classes in leopard (eg. NSGradient, Core Animation classes) or any syntax highlighting for new Objective-C 2.0 features.
- Cocoa classes are automatically highlighted (eg. declaring a variable as NSRect will show "NSRect" highlighted). Other Apple classes like those in CoreGraphics should also get the same treatment. Declaring a variable as a CGRect won't show "CGRect" highlighted. Also help doesn't work for these items.
- "Completion: Partial Method Signature" is really handy for inserting delegate method signatures. It does however insert different spacing then the "Interface/Class Method" snippet.
For example in an interface file:
Typing "-awakeFromN<tab>" will insert "-(void)awakeFromNib;"
Typing "m<tab>" will insert "- (id)method:(id)anArgument;" (notice the extra space after the "-")
-