-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Environment data
- VS Code version: 1.52.1
- Extension version (available under the Extensions sidebar): v2021.1.502429796
- OS and version: macOS 11.1
- Python version (& distribution if applicable, e.g. Anaconda): 3.9.1, homebrew
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
- Relevant/affected Python packages and their versions: N/A
- Relevant/affected Python-related VS Code extensions and their versions: N/A
- Value of the
python.languageServersetting: Jedi
[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Code Snippets do not work for Python. This has worked for me before.
Actual behaviour
For example, if I type the def keyword, code normally snows a popup to insert a snippet which contains a basic definition of a Python function. The snippet for the function no longer works. The def keyword is entered and the snippet is not created.
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
Here is an example with the for keyword. Normally, I would see a popup for several types of for statements. This is no longer working.


