creating TAGS for Ruby and emacs

Posted by hortitude on Super User See other posts from Super User or by hortitude
Published on 2009-10-02T16:44:43Z Indexed on 2010/03/17 1:01 UTC
Read the original article Hit count: 398

Filed under:
|

I ran the following from my top level Ruby on Rails directory

find . -name "*.rb" | etags -

Then within emacs I visited that tag file. This works reasonably well to find some of the methods and most of the files, however it is having trouble finding some of the extra methods/classes that I use in my helpers directory.

e.g. I have a file in my helpers dir called my_foo_helper.rb If I search my tags for that file, it finds it. However, if I try to find a tag for one of the methods within that module it doesn't find it at all.

If I use Aptana or something like that it seems to be able to locate those methods.

Any thoughts?

Thanks!

© Super User or respective owner

Related posts about ruby

Related posts about email