|
|
| XP is just a number | |
| PerlMonks |
Re: Any smart Perl editors?by Anonymous Monk |
| on Jun 08, 2019 at 22:01 UTC ( [id://11101145]=note: print w/replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||