Closed KoBOLL closed 1 year ago
Oh, I'm sorry, extension version is v2023.8.0 and VSCode version is 1.83.1
@KoBOLL If it is a multi root workspace then we use the interpreter from the first workspace to start the server. The issue is that even if you put B
in the first place, we need to verify support for each of the roots.
You will need to do two things here:
A
and B
use a supported python version.Lets try this:
Settings for A: (${workspaceFolder:B}
is a way to point to the workspace B
from A
)
"flake8.interpreter": ["${workspaceFolder:B}/.venv_3_9/bin/python"],
"flake8.path": ["${workspaceFolder}/.venv_3_5/bin/flake8"]
Settings for B:
"flake8.interpreter": ["${workspaceFolder}/.venv_3_9/bin/python"]
It wasn't obvious, but it definitely worked. Thank you!
I have a directory structure:
In file /path/to/B/.vscode/settings.json I have:
But Flake8 extension gives an error:
Or maybe I'm doing something wrong?