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 (Saint) on Jun 09, 2019 at 22:33 UTC |
In Section
Seekers of Perl Wisdom