This repository was archived by the owner on Apr 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
Add submodules to completion list #1896
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
c6a9c22
Remove stale reference
1360827
Merge branch 'master' of https://github.com/microsoft/python-language…
ccaaa02
Merge branch 'master' of https://github.com/microsoft/python-language…
da40dcc
Merge branch 'master' of https://github.com/microsoft/python-language…
c348ac3
Merge branch 'master' of https://github.com/microsoft/python-language…
53bc044
Merge branch 'master' of https://github.com/microsoft/python-language…
484a92a
Merge branch 'master' of https://github.com/MikhailArkhipov/python-la…
e6df3aa
Merge branch 'master' of https://github.com/microsoft/python-language…
1d289d8
Merge branch 'master' of https://github.com/microsoft/python-language…
126f355
Merge branch 'master' of https://github.com/microsoft/python-language…
7e715f3
Merge branch 'master' of https://github.com/microsoft/python-language…
32923a5
Merge branch 'master' of https://github.com/microsoft/python-language…
1b72f4b
Merge branch 'master' of https://github.com/microsoft/python-language…
f74d5b6
Merge branch 'master' of https://github.com/microsoft/python-language…
0b28fa4
Merge branch 'master' of https://github.com/microsoft/python-language…
6109ac7
Don't suppress LHS diagnostics on augmented assign
bcfc3b7
Revert "Don't suppress LHS diagnostics on augmented assign"
dc286b8
Merge branch 'master' of https://github.com/microsoft/python-language…
0aab4f5
Merge branch 'master' of https://github.com/microsoft/python-language…
b953ce7
Merge branch 'master' of https://github.com/microsoft/python-language…
aef887d
Merge branch 'master' of https://github.com/microsoft/python-language…
b97b641
Merge branch 'master' of https://github.com/microsoft/python-language…
c16646d
Escape [ and ]
f3e08d5
Merge branch 'master' of https://github.com/MikhailArkhipov/python-la…
5700642
PR feedback
1d091db
Merge branch 'master' of https://github.com/microsoft/python-language…
b8c3615
Merge branch 'master' of https://github.com/microsoft/python-language…
6a88069
Merge branch 'master' of https://github.com/microsoft/python-language…
9f129b9
Add imported submodules to completions
6ac53c9
Fix test
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This modifies all accesses, not just the completion for imports. Is this what you expect? Not sure if we had removed this behavior or modified at some point in the past or not... Vaguely remember something like this previously and having to be careful to present things in the right place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, if it is a legal member Python can find, it should be exposed. I looked into past history and found that handling of submodules was added for import statement completion specifically. This code is basically borrowed from there.