On 9 Apr 2014, at 13:26, Jacob Carlborg wrote:

[…] The reason for using Xcode is to get these features that TextMate doesn't have: proper autocompletion, go to definition and others.

There is code completion on option-escpae (for Cocoa and the standard C/C++ library).

For go to definition: I define all functions with a space after the name and call them without such space.

That means if I have foo() then I can search for ‘foo (’ via ⌘E, ⇧⌘F and then ⌘1-n for the n’th match. Perhaps a dedicated Go to Definition would be faster, but I tend to use variations of this to gather info (in this case the find window’s “Copy Matching Parts” is gold). For Objective-C methods, a similiar approach can be used by prefixing the method with ‘)’.

Though if anyone is aware of a ctags like system that works with Objective-C++, I’d be interested to giving that a try.
_______________________________________________
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to