[TxMt] ctags (or etags) and TextMate

Gerd Knops gerti-textmate at bitart.com
Thu May 11 19:39:09 UTC 2006


On May 10, 2006, at 6:24 PM, Oscar Bonilla wrote:

> One of the things that still puzzles me about how people use  
> TextMate is how they navigate the source code.
>
> I can navigate quite fast on both Emacs and Vim using etags (or  
> ctags). You just basically put the cursor over a function call, and  
> press M-. (or Ctrl-]) and that takes you to the definition of the  
> function. To go back to where you were, you just press M-* (or Ctrl- 
> g) and you're back.

A while ago I wrote a little script that creates a tags file and  
looks up functions etc. It isn't very pretty but functional and  
relatively quick. I wrote up a quick description here:

	http://gerd.knops.org/?p=7

Let me know if that is of any use. BTW I tried to record a macro that  
would combine setting a bookmark and then calling the ctags lookup,  
but apparently it is not possible to set bookmarks from a macro.

Gerd




More information about the textmate mailing list