Forum: Ruby on Rails finddef - find methods in textmate

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C22c46a54673d3f35910b1a4199ee80f?d=identicon&s=25 jzimmek (Guest)
on 2008-12-14 22: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
path).

http://github.com/jzimmek/finddef/tree/master
9239e324751b8db551789e5e16689438?d=identicon&s=25 Hunt Jon (Guest)
on 2008-12-15 14:00
(Received via mailing list)
Is this different from RubyAMP's functionality?
C22c46a54673d3f35910b1a4199ee80f?d=identicon&s=25 jzimmek (Guest)
on 2008-12-15 15: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:

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

rubyamp:
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.