Recently I've been using pyenv-virtualenv for my python projects and with the vscode extension "Python Environment Manager", and I love the combo.
However I currently need to activate the virtualenvs manually through the plugin.
Does anyone know if there's a good way and have tested it to do it automatically?
Can I for for example create some kind of file structure that would allow vscode to automatically select the right pyenv-virtualenv when I open a file in a specific repo/folder?

Open a folder as a workspace
Use the command to create a new virtual environment in the terminal,
The above command will generate a
.venvfolder in the current workspace, which is a virtual environment named.venvSelect the
.venvvirtual environment interpreter in the Select Interpreter panelNew terminals will automatically activate the environment
When you open this folder with vscode next time, VScode will select the last interpreter by default. If you have not changed it, then you will select the
.venvvirtual environment by default when you open this folder in the future.