Do you want to have a shortcut that takes you from a method call to it’s definition, wherever that may be in your code? How about another shortcut to jump back to your previous position. Here is how to do it in Sublime Text 2
Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility. A tag signifies a language object for which an index entry is available (or, alternatively, the index entry created for that object).
First, I created a shell script in my path called
1 2 3 4 5 6 7 8 9 10 11
Now, we configure the plugin to use this script to create the tags:
1 2 3
By default, the plug-in will look for
.gemtags in the project directoy.
That is it, use the plug-ins keyboard shortcuts (or override) and navigate to method definitions (ctrl+t ctrl+t) and back (ctrl+t ctrl+b) or rebuild (ctrl+t ctrl+r) as needed.
After just a few days of using it, I found it indispensable.