Closed
Description
As part of the monorepo support for Codespaces, we want users to be able to choose a devcontainer specific for their scenario from a list of devcontainer definitions contained with the .devcontainer folder.
For example, they could have .devcontainer/actions/devcontainer.json as well as .devcontainer/vscode/devcontainer.json and providing either path would work and successfully create the dev container specified at that path.
As an example, we'd expect for any of the follow paths to devcontainer definitions to be acceptable:
repository_root
| .devcontainer.json
|
| .devcontainer
|
+-- foo
| |
| +-- devcontainer.json
| \-- Dockerfile
|
+-- foo
| |
| +-- devcontainer.json
As a stretch, it would be great if the definition could be 2+ folders down such that .devcontainer/actions/allisb/devcontainer.json
would also work but one subdirectory is sufficient for this first stage.