I wonder if there is a way to jump to Python method definition in VIM using static code analysis (as described in https://gist.github.com/igemnace/dfa545d0d71228e010876d48a420a50b).
For example, if I have two files base.py
:
class MyBase:
def foo(self):
print('foo')
and bar.py
:
class MyClass(MyBase):
def bar(self):
self.foo() # How to jump to base.py:MyBase:foo having cursor here
print('bar')
How to jump to base.py:MyBase:foo
definition from bar.py:MyClass:bar
without having to choose correct place from ctags list?