Forum: Ruby on Rails finddef - find methods in textmate

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
jzimmek (Guest)
on 2008-12-14 23:01
(Received via mailing list)
i you have an java/eclipse background like me and missing a "show
declaration of method" in textmate, then you should checkout finddef.

finddef is a textmate command to quickly find method definitions over
multiple source files (including project, rubygems or usersupplied
Hunt J. (Guest)
on 2008-12-15 15:00
(Received via mailing list)
Is this different from RubyAMP's functionality?
jzimmek (Guest)
on 2008-12-15 16:00
(Received via mailing list)
both provide a find-method functionality (and rubyamp a lot more).

i am not very familiar with rubyamp, but looking at the code i see the
following difference:

uses the "selected word" / "cursor position" to lookup the method
definition by pressing "^-"

prompts you for a "methodname" to search for

imho is pressing "^-" much simpler than entering a complete methodname
to search for.

finddef will find method definitions in the open project, rubygems and
in an usersupplied searchpath if you wish - i have not used rubyamp,
so i do not know if this is a difference between the two.
This topic is locked and can not be replied to.