forked from DonJayamanne/pythonVSCode
-
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
Intellisense doesn't autocomplete if package names are repeated in different packages #178
Labels
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
bug
Issue identified by VS Code Team member as probable bug
Comments
brettcannon
added
awaiting 1-verification
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
bug
Issue identified by VS Code Team member as probable bug
labels
Nov 14, 2017
15 tasks
Fixed by our Jedi 0.12.0 upgrade. |
@brettcannon on |
@rainyday please open a new issue. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
bug
Issue identified by VS Code Team member as probable bug
From @kostub on September 13, 2017 22:10
Environment data
VS Code version: 1.16.0
Python Extension version: 0.7.0
Python Version: 2.7.12
OS and version: MacOS Sierra 10.12.6
Steps to reproduce:
foo
andtest
foo
create a filebar.py
test
directory create another packagefoo
test/foo
create a filegaz.py
So the directory structure is like:
Open a new file in
test/foo
directory. Saytest/foo/run.py
Add the following code:
Start typing
import foo.
Actual behavior
The only autocomplete option shown is
gaz
Expected behavior
Expected
bar
to be shown in the dropdown. Especially when absolute import is being used.In fact
import foo.gaz
is probably incorrect since it is not a valid relative import either.Logs
Output from
Python
output panelNone
Output from
Console window
(Help->Developer Tools menu)None
Copied from original issue: DonJayamanne/pythonVSCode#1211
The text was updated successfully, but these errors were encountered: