Support "python.autoComplete.showAdvancedMembers" to hide dunder attributes #2638
StepVK
started this conversation in
Enhancement
Replies: 1 comment 1 reply
-
Moving this issue to discussion as an enhancement request for comments and upvotes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment data
Expected behavior
When I set
JSON: ("python.autoComplete.showAdvancedMembers": false)
GUI: "Python › Auto Complete: Show Advanced Members
Controls appearance of methods with double underscores in the completion list."
to false, I expect methods and attributes with names starting with "__" to not show up in autocomplete, when called from other scopes.
Actual behavior
"__" methods and attributes show up in autocomplete regardless of that option.
Code Snippet / Additional information
Seeing _stopped is ok,
__thread shouldn't be there, as shouldn't all the "magic" methods starting with __
Beta Was this translation helpful? Give feedback.
All reactions