Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Goto / Go Definition #280

Open
ghost opened this issue Jan 23, 2019 · 3 comments
Open

Goto / Go Definition #280

ghost opened this issue Jan 23, 2019 · 3 comments

Comments

@ghost
Copy link

ghost commented Jan 23, 2019

Steps to Reproduce

api is just a python package containing 2 files:

  1. init.py
  2. special_module.py

Here is the file layout:

    api/
         __init__.py
          special_module.py

Content of api/init.py is empty.

in some file elsewhere in the project, i type:
from api import module special_module

i highlight "special_module" and use Goto / Go Definition

Expected Behaviour
I expected to go into api/special_module.py.

Actual Behaviour
Anaconda opens api/special_module/init.py instead.

Using ST3 bild 3176 on windows 10
latest version of "Jedi Python autocompletion" v0.14.0

very similar to this bug:
DamnWidget/anaconda#768

@daniele-niero
Copy link

Any comment on this issue? It's really annoying...

@srusskih
Copy link
Owner

@daniele-niero I think it's how jedi works. hadn't time to test properly

@daniele-niero
Copy link

I didn't use to work like this. Maybe is something changed in Jedi itself?

P.S. sorry for the late reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants