in reply to Jumping through perl modules with vim

"I am using vim with Freebsd, but any other method than vim are welcome if it enables me to jump higher."

I personally use lightweight IDE called geany on a linux desktop. This small IDE knows about perl syntax and jumps into other files (with function definition) within the project by a simple keystroke.

Also for emacs there is etags, I used to use it before.

If you intend to use it only with perl, I suggest to look closely at PADRE.

  • Comment on Re: Jumping through perl modules with vim

Replies are listed 'Best First'.
Re^2: Jumping through perl modules with vim
by remiah (Hermit) on Jan 22, 2011 at 07:11 UTC
    I tried PADRE. It took long time to compile but lighter than I thought. IDE with debugger is fascinating for me. For jumping through facilities it seems the same mechanism with ctags. Suppose you are editing BBB/Bar.pm and wonder what is function aaa?
    #AAA/Some.pm package some; sub aaa{}; 1; #BBB/Foo.pm package foo; sub aaa{} ; 1; #BBB/Bar.pm package bar; use base qw(foo); sub bbb{ aaa(); } 1;
    ctags generate sorted list for aaa like this.
    aaa AAA/Some.pm aaa BBB/Bar.pm
    If class hierarchy took considered, they must jump to BBB/Bar.pm's function aaa, but Padre and ctags jump to AAA/Some.pm's function aaa. I guess they use same logic and jump to first line of sorted list.

    Just type g+Ctrl+] show me list of functions in ctags and vim. It is enough good to me so far. In reality, we have factory class? or something, so, much or less I have to jump with my legs.