-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-root workspaces require all folders to a valid python interpreter #370
Comments
@ngtrunghuan You can set folder b to use the same interpreter as folder A. Just set the |
Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off. |
While the workaround with Could black formatter not only be available for those folders inside a multi-root workspace that provide all the necessary configuration? |
@stefanhige You only need to do this if you have different python versions for each workspace root. I general if you have a "Entire Workspace" python, that will be used. You only ever deal with this problem if you explicitly have different pythons per workspace root. |
When formatting a file in a folder with a valid interpreter, the extension failed due to the server not starting up. This seemed to be due to one of the folder not having a valid interpreter. The old
black
functionality under thems-python.python
extension however could function well.Reproduction steps:
ms-python.black
ms-python.black
on a file in a folder that has a valid interpreterblack
server failed to startms-python.black
versionv2023.6.0
ms-python.python
versionv2023.21.13101009
The text was updated successfully, but these errors were encountered: