You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow Loading Attached Container Configs from the Current Project Repository #4584
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.
Reacted by Lutger Blijdestijn, asafamr-fabric, mtomsovsky and Pierric Gimmig
It would also be ideal if there would be an option or something to force the settings to be written every time you attach to a container.
I see a potential scenario where someone updates the settings in the project repo (most likely with agreement from the team), and you want those settings to automatically get loaded when you attach to your container. I can also see the flip side of that where you might not want the settings automatically loaded each time you attach. So, a setting to let the user control how that happens would be good.
This is a really important feature request for us, it'll be a huge upgrade to be able to keep these in the workspace-level configuration so we can share it between the team with the rest of our docker-compose file and similar.
Activity
thomas-j-moffett commentedon Mar 2, 2021
It would also be ideal if there would be an option or something to force the settings to be written every time you attach to a container.
I see a potential scenario where someone updates the settings in the project repo (most likely with agreement from the team), and you want those settings to automatically get loaded when you attach to your container. I can also see the flip side of that where you might not want the settings automatically loaded each time you attach. So, a setting to let the user control how that happens would be good.
nightpool commentedon Jul 28, 2025
This is a really important feature request for us, it'll be a huge upgrade to be able to keep these in the workspace-level configuration so we can share it between the team with the rest of our docker-compose file and similar.