At work we run python under a custom environment, and thus we use a non-standard shebang. I tested that VSCode recognizes python files without a .py extension if they h
To complement Matt Bierner's helpful answer:
The JSON settings Matt references are in
files in the following locations:
On GitHub:
When installed:
In the resources/app/extensions
subfolder of the VSCode installation folder; e.g.:
Windows (32-bit version):
C:\Program Files (x86)\Microsoft VS Code\resources\app\extensions
macOS:
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions
E.g, for Python:
Windows (32-bit version):
C:\Program Files (x86)\Microsoft VS Code\resources\app\extensions\python\package.json
macOS:
/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/python/package.json