Suppose I have this in the controller
@appointment.add_appointer
Is there a shortcut in Textmate to go to the definition of the add_appointer function in my destination.rb model?
add_appointer
No Unfortunately. I think the fastest way is probably to use:
Command+T <type appointment.rb>
Now in open file
Command+Shift+T <type method name>
The beauty of TextMate is that you can simply expand it to meet your needs!I wrote the TextMate Bundle command (you can easily assign it Ctrl +] , for example), which looks for a class or method definition in the carriage and displays it in a tooltip, as well as the name of the file and the line in which it was found.
Check this out: Add a shortcut to TextMate to search for a class or method definition in the tooltip