-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Allow .vscode/settings.json per folder without using multi-root workspaces #181845
Comments
This sounds more Python-specific than anything, so transferring over there. |
It would be difficult to solve it from Python extension's perspective as this requires us to look for I'm transferring it back to VSCode as this requires a general solution like #15909 IMO. |
We've opened microsoft/vscode-python#21204 in Python extension to track this support. |
/duplicate |
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines. Happy Coding! |
Specifically we're interested in having the
python.defaultInterpreterPath
setting to be folder-specific. Right now in our Python monorepo, navigating between projects requires manual switching of the Python interpreter so that the pip packages andimport
s are recognized by the IDE.I'm imagining the end state where each project in the monorepo has its
.vscode/settings.json
file and have VS Code read the settings from that file when a file from that project is open.More context: Multi-root workspaces won't work here. We're using the Pants build tool. While it's a monorepo, it's more than just several top-level folder smooshed together. There are other metadata files at the top-level so we can't really have a
project.code-workspace
file because we'll need the.
folder to be included and that causes the other folders to be duplicated in the explorer view.Issues I found that are related but not applicable:
The text was updated successfully, but these errors were encountered: