Visual Studio Code Question (Python and Django)

Soldato
Joined
1 Nov 2007
Posts
6,245
Location
England
I've setup Visual Studio Code on my Linux install and installed all the required extensions. I've got it so that it runs each workspace in its own virtualenv which is great but when I open the terminal in Visual Studio code I have to run:

Code:
source venv/bin/activate

every time which is a bit of a pain. Is there a way to get the Terminal in Visual Studio Code to automatically load the virtualenv?

If not I might as well just use a normal terminal which has other advantages. Plus I don't have any run configs or debugging configs which I'm not sure how to get with Python and Django.
 
Back
Top Bottom