-
Notifications
You must be signed in to change notification settings - Fork 133
Conversation
This reverts commit 6109ac7.
|
||
public virtual IEnumerable<string> GetMemberNames() => GlobalScope.GetExportableVariableNames(); | ||
public virtual IMember GetMember(string name) { |
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.
This reverts commit c66e404.
Fixes #1870