これは「フル機能の」IDEでは一般的であり、テキストエディタではないことは知っていますが、TextMateはその多くのバンドルでユニークなラインを歩きます...たとえば、RubyまたはRailsクラスをクリックする簡単な方法があるかどうか疑問に思います。メソッドとTextMate(またはシェル)で定義またはいくつかのドキュメントに移動しますか?
2 に答える
^h
APIドックを使用するレールバンドル()に組み込まれているものがあります。
もう1つの非常に優れた方法は、rails os x辞書を使用することですが、いくつかの欠点があり、使用しているRailsのバージョンがわかりません(Rails 3ではないと確信していますが、確認していません)。 )。
Ctrl-H is an excellent option to learn about Ruby or Rails API.
But this doesn't work for any other methods or class that may be defined or included in your project. For those I've written a TextMate Bundle command (you can easily assign it to Ctrl+] for example) that lookup for the definition of the class or method under the caret and displays it in a tooltip, along with the file name and the line where it was find.
Check it out: Add a shortcut to TextMate to lookup a class or method definition in a tooltip
Hope you'll find it useful ;)