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.
CodePudding user response:
It is useless, just type name_file.py
and press enter.
CodePudding user response:
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.
"files.defaultLanguage": "python"