Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 (Cardinal) 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 wandering the Monastery: (2)
As of 2020-10-24 08:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (242 votes). Check out past polls.

    Notices?