For some unknown reasons, my VS code no longer shows the default code snippets for Python.
Below is what I see when I type for
in the editor (to write the for loop)
I'm expecting to see something like below:
All snippets seem to be missing. Not just the one for for loop
.
Things that I have tried:
Jedi
to Microsoft
(as shown below)Any help is highly appreciated
The Python code snippets were removed from the Python extension for Visual Studio Code in the 2021.1.0 (21 January 2021) release. The reasoning was that it was seen causing more harm than helping the user. See for example: Don't suggest Code snippets for import statements
If you want to, you can copy the old snippets (or part of them), and add them as your own snippets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With