vscode-Python-Extended
vscode-Python-Extended copied to clipboard
Nonsensical snippets inserted after a dot (.) character in Python
- VSCode Version: 1.52.1
- OS Version: Windows_NT x64 10.0.18363
Steps to Reproduce:
- Open empty folder and create a .py file
- Type the (.) character.
If editor.snippetSuggestions is set to anything but 'none', three bogus suggestions appear.
thank you. it has been fixed now
Same thing happens after typing "def " for function declaration:
Good snippet suggest at this point would be things like: __str__(self):
, __repr__(self):
, __getitem__(self, item):
etc
I recommend Pylance for these kinds of suggestions.
Op ma 8 feb. 2021 om 09:45 schreef Hannes Breytenbach < [email protected]>:
Same thing happens after typing "def " for function declaration: [image: pyex] https://user-images.githubusercontent.com/5623552/107195344-e8e49600-69f9-11eb-9bbb-1c05d35bbc8b.png
Good snippet suggest at this point would be things like: str(self):, repr(self):, getitem(self, item): etc
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tushortz/vscode-Python-Extended/issues/6#issuecomment-774978178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AESTRGY4QLDVQDRTH27FVZDS56QCDANCNFSM4WI2LFPA .
Hey, this still hasn't been fixed, there's been no update on the VS code marketplace. :
, .
, def
, if
, all give nonsensical non-code suggestions. Really annoying that they're always top of the list too so pressing enter always fills it in. Here's a recent stack overflow question related to this: https://stackoverflow.com/questions/68649240/windll-windows-only-creates/68686041
Also the more recent open issue is the same issue as this one.
Confirming that this bug continues to occur, and that it is present on linux.