u/CommercialBubbly4524

▲ 3 r/vscode

VS Code and more than 1 Dev Container in a repository

Hello,

I recently started using Dev Containers. I'm super happy with the built-in VS Code integration, everything works perfectly.

Except for 2 things. I have 2 Dev Containers in one repository:

* repo/.devcontainer/devA/devcontainer.json

* repo/.devcontainer/devB/devcontainer.json

VS Code correctly asks me which one to launch when I open my project, but:

* It detects not-existing changes and wants to rebuild the container on every run

* When I use Ctrl+R to open a recent project, it show `repo [Dev Container]` twice. Both containers have the same display name, making it impossible to tell them apart

I haven't been able to find a solution for these two issues. Any help would be appreciated! 😄

reddit.com
u/CommercialBubbly4524 — 12 days ago