-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Go to definition for Python project does not work with relative imports #274
Comments
Bump |
@imdadahad there's no need to bump the issue as we've triaged it and are aware of your request. We just also have 57 other issues to verify along with 41 bugs awaiting fixes. 😟 |
Reported as an upstream issue davidhalter/jedi#1029 |
Any update regarding this issue? |
@pchomik Have you reported this upstream? |
I haven't report it upstream. |
Should be fixed in the next release. |
it is still not working. Works when starting vsc but stops working after a while Version 1.23.0 |
Please could you check if there are any errors in the console window (go into |
Environment data
VS Code version: Version 1.18.1 (1.18.1)
Python Extension version: 0.8.0
Python Version: 3.6
OS and version: Mac High Sierra
Actual behavior
Assuming my current project structure:
And contents of:
In
test.py
, when I select go to definition for theprint_greeting
method inmain
(Figure 1), it automatically places the cursor right before the import definition (Figure 2).Figure 1
Figure 2
Expected behavior
It should instead take me to the
print_greeting()
definition in theutils/greeter.py
file.Steps to reproduce:
stopwatch_app.zip
test.py
, right click onprint_greeting()
defined inmain
and selectGo To Definition
Logs
Output from
Python
output panelN/A
The text was updated successfully, but these errors were encountered: