Can I do a Textmate completion without capitalization?

I've been using for a Textmate

couple of years, but for Objective-C, I found Xcode to be simpler. One of the reasons I like Xcode is that I can type "nsui" and that will suggest NSUInteger for me. If I want the same thing in Textmate, I have to enter "NSUI" since the beginning of the sentence I want is all capitalized. Textmate will not match the start of execution which I want if the capital letter is different. I love Textmate, but my pinky got tired of holding the shift all the time.

I'm guessing the completion in Textmate comes from the "Completions: Cocoa" bundle. Is there a way to disable capitalization sensitivity in Textmate so that I can type "nsui" or "NSUI" and get the "NSUInteger" prompt?


Edit:

It looks like it's impossible. I took advantage of the completion support yesterday and got the list of additions from the script (I wrote a script to pull the possible additions from the dict / words file), but textmate always seems to be comparing the case.

+1


a source to share


1 answer


I don't think TextMate is that complicated. In the bundle editor, you can create a snippet that inserts an NSUInteger and has a "nsui" tab trigger. If you want it to work for "NSUI" too, then duplicate the snippet.



+1


a source







All Articles