Monday, December 28, 2009

Re: Python: module-aware jumping to class definition - possible?

On 24 Gru, 08:44, Piotr Czachur <zim...@gmail.com> wrote:
> Hi!
>
> Lets assume I got InterestingClass definitions in variouspython
> modules.
> I've set proper PYTHONPATH for VIM.
>
> I'm heavy wondering whether it is possible to jump from:
> ### my/package/one.py
> from my.other_package.two import utils
> class Foo(utils.InterestingClass): ## HERE, cursor placed on
> "InterestingClass"
>     pass
> ###
> ...directly to InterestingClass definition in my/other_package/two/
> utils.py?
>
Ropevim plugin and command :RopeGoToDefinition should be enough.
http://rope.sourceforge.net/ropevim.html

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment