Replies: 2 comments
-
Hi 👋 Unfortunately, VSCode currently does not support automatically finding and using a However, you can manually specify the path to the
Replace <path-to-devcontainer.json> with the relative path to your devcontainer.json file from the workspace root. Here's an example: {
"remote.containers.devContainerJson": "../../../.devcontainer/devcontainer.json"
} Remember to replace the path with the actual path to your Please note that this is a workaround and might not work perfectly in all scenarios. For instance, it won't automatically find the closest Also, @a-gn as this request is VS Code specific, I'd recommend creating an issue in https://github.com/microsoft/vscode-remote-release/issues, the VS Code team can share better plans and guidance. |
Beta Was this translation helpful? Give feedback.
-
Thanks @samruddhikhandale! I made a request here. |
Beta Was this translation helpful? Give feedback.
-
I have a monorepo containing separate projects in sub-folders. They have to be opened individually for VSCode to use their
pyproject.toml
and other configuration files. The root contains a common Dev Container specification for all projects.It would be great if you could
Reopen in container
and VSCode would find e.g.../../../.devcontainer
and use that, as long as there are not.devcontainers
in closer parents. Tools likeclang-format
already do this with their configuration files.Is that planned?
Beta Was this translation helpful? Give feedback.
All reactions