From: Michael Garriss Date: 2003-08-07T02:26:15+09:00 Subject: Re: newbie question from a smalltalker Lyle Johnson wrote: > Michael Garriss wrote: > >> Although I can't test it in my current enviroment, I believe that >> ctags works on ruby too. Sure it's a bit dumb (ctags) but combined >> with vim or emacs it can be quite useful. > > > Actually, I can confirm it ;) I use the CodeBrowser (I think that's > its name) plugin for JEdit and it uses ctags under the hood to > generate the list of classes, methods etc. for the current file. Works > pretty well for Ruby, although the method names are not > fully-qualified (i.e. no distinction between "A::foo" and "B::foo", > both appear as "foo"). Not sure if this latter problem is a defect of > ctags or of CodeBrowser's use of the ctags file information. > > > Yea...If I remember right, ctags was much better at some languages then if was at others. I believe there is a version of ctags out there that is open source. It would be interesting to rewrite it in ruby and then add on the power of rubyish things...like ObjectSpace. If it produced output in the same format as ctags it would still plug-in to 3rd-party tools.