Is there a way to make the .py option appear in the VS Code New File Menu? It used to appear when having the Python extension installed, however, something changed.
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
It is useless, just type
name_file.py
and press enter.Although the .py option never appeared on my machine, I’ve seen this problem several times. According to this question, maybe downgrading the vscode version can solve the problem.
My suggestion is to add the following configuration to
settings,json
so your vscode will default each new file to a python file.