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 have a shebang that's either #!/usr/bin/env python
or /usr/bin/python
or variants of these.
At work I use a shebang similar to this: #!/some/directory/envroot "$ENVROOT/bin/python"
but vs code doesn't recognize this, so I have to manually set the language to python each time.
Is there a configuration somewhere that I can map a custom shebang to a language so I don't have to set it manually each time I open the file?