Shortcut to define goto method in rails with textmate

With Netbeans or Eclipse, I would press Ctrl + on the function name to go to the method definition. Are there any shortcuts for this in Textmate?

+6
source share
2 answers

There's a CTags package that will allow something like that. Despite the fact that it looks old, it still works - I use it a lot.

+4
source

Ctrl-H is an option to display the API documentation for the current word.
But this does not work for any other methods or classes that can be defined or included in your project. For those I wrote the TextMate Bundle command (you can easily assign it Ctrl +] , for example) who are looking for a class or method definition under the carriage and display it in a tooltip, along with the file name 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
I hope you find this useful;)

0
source

Source: https://habr.com/ru/post/886679/


All Articles