[TxMt] Objective-C completion vs Bracket Matching
Gerd Knops
gerti-textmate at bitart.com
Tue Apr 15 18:00:39 UTC 2008
Joachim et al,
There is one minor (but annoying) detail about the combination of
Objective-C completion and Bracket Matching. I have come to rely on
Bracket Matching quite heavily, but that frequently leads to
situations like this:
NSFileManager *fileManager=[NSFileManager defaultManager];
if(fileManager fileEx|
At this point completion (Alt-Esc) will not do anything because there
is no opening bracket before 'fileManager'. So the only way is to type
the closing bracket (which inserts the opening bracket), back-arrow,
and then Alt-Esc, and later having to skip over the closing bracket.
Not really a big deal, and I suspect it would be difficult to
implement, but in a perfect world I would hope code completion at the
above situation would insert the brackets along with a snippet that
lets me tab to any arguments and eventually past the closing bracket.
Gerd
More information about the textmate
mailing list