-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
This is more of an anti-feature request; I'm proposing that the code snippets included in the extension be removed, or at least that the default snippetSuggestions setting for Python be set to "none".
The code snippets were likely useful before good quality analysis. These days, we have LSs that provide completions for things like overriding methods, and I'm a bit suspicious of the usefulness of the other snippets (like "add an if statement").
The code snippets use regex rules (if any rules at all) and often lead to undesirable behavior when offered in the wrong context. This is worse when an LS explicitly returns "nothing", and VS Code adds the snippets in making the completion list just snippets. This leads to bugs being reported thinking that it's an issue with the LS, when it's really VS Code injecting the rules. They also get fuzzy matched, which makes them more likely to be selected.
See these (there's another Pylance one I'm having trouble finding):