I am setting up vscode for python development. I have followed several youtube videos and have most everything working with python and virtual environments. I know virtual environments are properly detected by vscode because vscode automatically detects the 'venv' folder and displays this at the bottom left of my screen (Python 3.7.3 32-bit ('venv':venv)).
Ok, so the problem I have is when I right click on the python code and select "Run Python File in Terminal". What happens is a new terminal opens up and immediately runs the python script without first activating the virtual environment. I know this because there is no (venv) next to the new terminal prompt, even though there is always a (venv) there when I manually create new terminals.
I am using git bash as my default shell. I'm searching through my default settings.json file to see if there is a setting that makes sense, but I can't find anything.