Hi. I've just started playing with Objective C and (obviously!) want to use TextMate to edit my code. I saw the rather cool demo in Allan's 2nd Obj-C screencast [1] of how to reformat a method signature, but it didn't work for me.
I tried it with the following example:
+ (id)dateWithString:(NSString *)description calendarFormat:(NSString *)format locale:(NSDictionary *)locale { }
and found that the results came out like this (having removed everything in the file prior to the method definition):
+ (id)dateWithString:(NSString *)description calendarFormat:(NSString *)format locale:(NSDictionary *)locale
Do I need a specific version of the TextMate, the Objective-C bundle, or some other supporting files to make this work?
I'm running build 948 of TM, and have just upped by Objective-C bundle this evening (the one shipped with 948 didn't define the format method signature command).
Cheers,
Graham
On 1/6/2006, at 4:50, Graham Ashton wrote:
[...] I'm running build 948 of TM
Go to Preferences ⇢ Software Update and switch to Cutting Edge. Several of the screen casts use functionality from these.
and have just upped by Objective-C bundle this evening
For the records, generally never update the default bundles w/o also running Cutting Edge.
On Thursday 01 June, Allan Odgaard wrote:
On 1/6/2006, at 4:50, Graham Ashton wrote:
[...] I'm running build 948 of TM
Go to Preferences ??? Software Update and switch to Cutting Edge. Several of the screen casts use functionality from these.
Cheers Allan, it works now. I was running cutting edge but it didn't work there either, so I downgraded. Now I've got cutting edge and an up to date bundle it works. :)