开发者

shortcut to goto method definition in rails with textmate

开发者 https://www.devze.com 2023-02-28 13:03 出处:网络
With Netbeans or Eclipse I would Ctrl + click on the function name to go开发者_JAVA技巧 to the method definition. Are there any shortcuts for this in Textmate ?There\'s a CTags bundle that will allow

With Netbeans or Eclipse I would Ctrl + click on the function name to go开发者_JAVA技巧 to the method definition. Are there any shortcuts for this in Textmate ?


There's a CTags bundle that will allow something like that. Even though it looks old, it does still work - I use it a lot myself


Ctrl-H is an option to show the API documentation for the current word.
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 ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消