[devcontainers] Extension does not accept .devcontainer.json as a symlink #10536
Labels
bug
Issue identified by VS Code Team member as probable bug
containers
Issue in vscode-remote containers
I have a few common configuration files stored in a submodule in my repo, among them is a devcontainer config file.
If i link to this file (
ln -sr <sub-module>/devcontainer.json <repo-root>/.devcontainer.json
) and open VS Code I don't get the "Folder contains a Dev Container configuration file"-popup. It does however work to create the symlink inside a .devcontainer-folder (ln -sr <sub-module>/devcontainer.json <repo-root>/.devcontainer/devcontainer.json
).To sum up:
✅ File named
.devcontainer.json
: Works✅ File named
.devcontainer/devcontainer.json
: Works✅ Symlink named
.devcontainer/devcontainer.json
: Works❌ Symlink named
.devcontainer.json
: Doesn't workThe text was updated successfully, but these errors were encountered: