Find `.devcontainer` in parent folders
@chrmarti is already working on this.
Since Jan 24, 2024.
Assessment
This issue has not been assessed yet.
Description
Follow-up to https://github.com/orgs/devcontainers/discussions/104#discussioncomment-8223544.
It would be very useful to me if VSCode searched for .devcontainer in the current folder's parents until it found one.
The use case is a large monorepo containing separate Python projects in subfolders. The user usually needs to open one of these projects for the Python extensions to configure themselves correctly. They all share the same dev environment, settings, extensions, etc.
The current method is:
- open the monorepo's root folder in VSCode,
- start a dev container (here VSCode finds
.devcontainerin the root folder), Add folder to workspacefor the project we actually want to contribute to.
The new method could be:
- open the subfolder containing the project,
- start a dev container (here VSCode searches in parent folders and finds
.devcontainerin the repo's root).
This would work like e.g. clang-format's configuration file, except we stop when we find one configuration instead of cascading settings from multiple levels.
Is this easy to implement?
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/vscode-remote-release
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
microsoft/vscode-remote-release#11650 ·
-
ssh
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
microsoft/vscode-remote-release#11583 ·
-
ssh
Difficulty 4/5 3-5 days Newbie friendliness 38/100
microsoft/vscode-remote-release#11861 ·
-
microsoft/vscode-remote-release#11860 · 1 comment · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
microsoft/vscode-remote-release#11859 ·