Allow Loading Attached Container Configs from the Current Project Repository #4584
Labels
containers
Issue in vscode-remote containers
feature-request
Request for new features or functionality
Milestone
It would be ideal to have the Attached Container config files specified in the current project repository that can be easily shared with a team. https://code.visualstudio.com/docs/remote/attach-container#_attached-container-configuration-files
In my scenario, I am using Lando for my local dev, and I'm not looking to switch any time soon. However, I would like to take advantage of things like smart PHP intellisense, which only seems possible while running in a container (or having PHP installed on my local machine, which I prefer not to do). Since I already have containers running in Lando with one of them running PHP, I would like to attach to that container, but I want the settings for that attached container to come from my project repository automatically.
I imagine this would be similar to how you support the
.devcontainer/.devcontainer.json
to be located in the project repository. It would be awesome if you could add support for the named container configs as well to be optionally loaded from there instead of from the user's VSCode settings. Maybe add support for giving priority to the current project repo to load a named container config before checking the user settings.My goal would be able to store those settings in my project repo so I can easily share with the team and have them loaded from there when attaching to the running container.
I guess I can do some manual set up in Lando to get settings files where I need them on those containers, but since VSCode already has the core pieces of this feature, it'd best handled there.
The text was updated successfully, but these errors were encountered: