Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Any smart Perl editors?

by Anonymous Monk
on Jun 08, 2019 at 22:01 UTC ( #11101145=note: print w/replies, xml ) Need Help??


in reply to Any smart Perl editors?

Emacs in cperl-mode is scanning all subs.

Calling M-x imenu will allow you jumping to a sub chosen from a menu. You can also easily make imenu a navigation bar entry hence you can jump easily from a call to a subs definition.

You can also bind it to a key like M-Ret. That's handy cause the menu defaults to the word under the cursor.

If you want a side pane where you can click with your mouse, you'd have the choice between installing ECB or PDE from elpa. Both draw a side pane using imenu's data.

the other requirement of only showing the code is a bit unclear. It sounds like narrow-to-defun where the code outside the sub is hidden.

In case you want folding, try hide-show-minor-mode.

Replies are listed 'Best First'.
Re^2: Any smart Perl editors?
by LanX (Archbishop) on Jun 09, 2019 at 22:33 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11101145]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2019-11-12 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Strict and warnings: which comes first?



    Results (64 votes). Check out past polls.

    Notices?