I've been using VS Code from a week and I want to use VS Code built-in Python snippets but it is not working for me. I've tried JS snippets and it is working fine in VS Code but Python snippets are not working.
Image links:
I've been using VS Code from a week and I want to use VS Code built-in Python snippets but it is not working for me. I've tried JS snippets and it is working fine in VS Code but Python snippets are not working.
Image links:
Found the answer:
It seems they decided to remove code snippets from the python extension in the last update: changelog in vscode
They may be added back in the future but for now i would suggest just using the python snippets extention: https://marketplace.visualstudio.com/items?itemName=frhtylcn.pythonsnippets
Install the Python extension for VS Code from the Visual Studio Marketplace(Link)
To verify that you've installed Python successfully on your machine, run one of the following commands (depending on your operating system):
Linux/macOS: open a Terminal Window and type the following command:
python3 --version
Windows: open a command prompt and run the following command:
py -3 --version
Refer to this article for more information