# Finddef - find methods in textmate

**URL:** <https://www.ruby-forum.com/t/finddef-find-methods-in-textmate/155624>\
**Category:** Rails\
**Created:** [December 14, 2008, 10:01pm UTC](https://www.ruby-forum.com/t/finddef-find-methods-in-textmate/155624 "2008-12-14T22:01:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzimmek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jzimmek](https://www.ruby-forum.com/u/jzimmek)\
**Post date:** [December 14, 2008, 10:01pm UTC](https://www.ruby-forum.com/t/finddef-find-methods-in-textmate/155624/1 "2008-12-14T22:01:53Z")

</div>

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).

> **[GitHub - jzimmek/finddef: A TextMate command to find method, class and module...](https://github.com/jzimmek/finddef/tree/master)**
>
> master

---

<div class="post-metadata">

**Author:** ![jzimmek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jzimmek](https://www.ruby-forum.com/u/jzimmek)\
**Post date:** [December 15, 2008, 2:00pm UTC](https://www.ruby-forum.com/t/finddef-find-methods-in-textmate/155624/2 "2008-12-15T14:00:06Z")

</div>

Is this different from RubyAMP’s functionality?

---

<div class="post-metadata">

**Author:** ![jzimmek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d07c76/32.png) [@jzimmek](https://www.ruby-forum.com/u/jzimmek)\
**Post date:** [December 15, 2008, 3:00pm UTC](https://www.ruby-forum.com/t/finddef-find-methods-in-textmate/155624/3 "2008-12-15T15:00:02Z")

</div>

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.
