ActiveState Community

Jump to sub-routine function

Posted by RAJ on 2007-02-28 10:03
OS: All / Any

I have used HTML-kit for many years, as it does everything I want - except secure login. For some reason I can't get FTP over SSH working, as there is a problem with displaying the directory structure over SSH.

So I've been looking at Komodo Edit, which does do secure login to FTP using port 22, as well as almost everything else I need. But one indispensible feature I cannot find in KE is the ability to display and jump to named sub-routines in Perl scripts. In HTML-kit I can right-click to display a list of subs, then select the one I want to jump to. Is there anything like it in KE? A plug-in perhaps?

toddw | Wed, 2007-02-28 12:42

If your using Komodo 4.0 (IDE or Edit), then this functionality does already exist.

Right click on the sub-routine name and select "Goto Definition" or use the keybinding (Ctrl-K, Ctrl-G), which should take you to where the subroutine is defined.

Cheers,
Todd

RAJ | Thu, 2007-03-01 15:08

Not quite, what I wanted was to be able to jump to a sub-routine elsewhere on the page, from anywhere on the page. In my other editor I can right-click to bring up a list of subs, then jump directly to any of them. I do not have to be anywhere in particular to do that.

Alternatively, how easy would it be to write a plug-in to do it?

weitzman | Thu, 2009-11-05 16:55

This is in Komodo5. See its Section list.