Hi Joachim<br><br>Thanks for replying and for your work on the Objective-C bundle. I was unaware that work was ongoing in the WIP bundle and I will try that out as soon as possible. Please forgive me if I've mentioned anything that the new bundle addresses.
<br><br>Thanks again,<br>Craig<br><br><div class="gmail_quote">On Jan 4, 2008 7:59 PM, Joachim Mårtensson <<a href="mailto:joachimm@etek.chalmers.se">joachimm@etek.chalmers.se</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">> Hi all<br>><br>> I've been using the Objective-C bundle for about a year now for all my<br>> Cocoa<br>> coding. It has a lot of nice features, but there are few shortcomings and<br>
> I<br>> was wondering if anyone is actively working on this.<br></div>Yes, I am working on it (not so actively lately though, been busy) and so<br>are a few others (Allan, Rob Rix, Ciaran Walsh to name a few). Nice to
<br>hear that we are not the only ones using TextMate for Objective-C.<br><div class="Ih2E3d">><br>> A few things off the top of my head:<br>><br>> - No completion of new classes in leopard (eg. NSGradient, Core Animation
<br>> classes) or any syntax highlighting for new Objective-C 2.0 features.<br>><br>> - Cocoa classes are automatically highlighted (eg. declaring a variable as<br>> NSRect will show "NSRect" highlighted). Other Apple classes like those in
<br>> CoreGraphics should also get the same treatment. Declaring a variable as a<br>> CGRect won't show "CGRect" highlighted. Also help doesn't work for these<br>> items.<br></div>The classes and types that are highlighted, were generated way back, by a
<br>script written by Allan(Support/Collect Cocoa Definitions.sh). With the<br>exception of the addition of Notifications to the list of<br>highlighted/scoped constants, not much has happend to this part of the<br>grammar. If you try out the WIP C bundle, the scope
<br>"variable.other.dot-access.c" will match the new Objective-C 2.0<br>properties syntax, ofcourse it will also match standard C struct access.<br>If you try out the WIP C bundle a good companion is the WIP Objective-C
<br>bundle, it will provide somewhat stronger code completion features.<br><br>It is clearly time to update the list both for completions and scoping<br>though.<br><div class="Ih2E3d">><br>> - "Completion: Partial Method Signature" is really handy for inserting
<br>> delegate method signatures. It does however insert different spacing then<br>> the "Interface/Class Method" snippet.<br>> For example in an interface file:<br>>  Typing "-awakeFromN<tab>" will insert "-(void)awakeFromNib;"
<br>> Typing "m<tab>" will insert "- (id)method:(id)anArgument;" (notice the<br>> extra<br>> space after the "-")<br></div>For some reason I have not noticed this. I will fix it the next time my
<br>mac gets internet access.<br><br>Joachim Mårtensson<br><br><br>______________________________________________________________________<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com
</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate" target="_blank">http://lists.macromates.com/mailman/listinfo/textmate</a>
<br></blockquote></div><br>