Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

ebrowse-like emacs feature for Perl ?

by Anonymous Monk
on Apr 24, 2008 at 10:49 UTC ( [id://682604]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Folks,

Is there out there an emacs feature that would bring ebrowse-like capability when working on Perl code, and more specifically the ability to jump from a method call to the method definition ?

Thanks.

Replies are listed 'Best First'.
Re: ebrowse-like emacs feature for Perl ?
by Joost (Canon) on Apr 24, 2008 at 11:12 UTC
      Sepia could do class browsing (see Sepia::methods and sepia-tree.el in the distribution), but I don't write enough heavily OO code to have felt the need to implement it. If you want to try writing it yourself, I would be happy to help.
Re: ebrowse-like emacs feature for Perl ?
by Fletch (Bishop) on Apr 24, 2008 at 12:10 UTC

    Exuberant ctags should be able to output a TAGS file which emacs can grok enough to let you jump from calls to definition. Also possibly of interest might be ECB which understands Perl as one of the languages and gives you a tree of declarations and what not to jump through code.

    (Slight disclaimer: I've been Switched™ to OS X for about a year now so my (x)emacs-fu is rusty, but this was the stuff I used when I was still an active xemacsian).

    The cake is a lie.
    The cake is a lie.
    The cake is a lie.

      From the ECB FAQ, the Perl support sounds luke warm at best, and Semantic doesn't list it as one of the supported languages.

      Did you actually use ECB with Perl? And if so, how? (imenu? etags?) And how well did it work? Was it difficult to set up?

      /J

        I want to say imenu, but again this was over a year ago and I don't see anything conclusive in my vestigial .xemacs files. Likewise I vaguely recall having to do a little work to get things going, but on the order of an hour or two not days. As for how well it worked, for the most part it found subs and packages pretty well (again, foggy memory here). It worked well enough I had a permanent keybinding set aside for it, at least. :)

        The cake is a lie.
        The cake is a lie.
        The cake is a lie.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://682604]
Approved by Joost
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-20 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found