When a virtual environment is activated the VIRTUAL_ENV environment variable is set to the location of the virtual environment. We could pick up on this and use it as the implicit value of python.pythonPath when that setting has not already been set.
When a virtual environment is activated the
VIRTUAL_ENVenvironment variable is set to the location of the virtual environment. We could pick up on this and use it as the implicit value ofpython.pythonPathwhen that setting has not already been set.