-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev container: Install configured extensions in all profiles #176678
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.76.1. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
@chrmarti This is happening because dev containers extension is installing extensions in the default profile and the user is using non default profile. Is it possible to create extensions in the profile user is using while the dev container is created? |
@chrmarti I have added |
I made another fix here that retains previous behaviour. I made extensions installed during server startup are available for all profiles. It does not need adoption from remote extensions. |
To verify:
|
Type: Bug
Regression since 1.76.
Today I created a new devcontainer. I normally want several extensions to be automatically installed in any container I create, so I list those in
"dev.containers.defaultExtensions"
in my user settings.json:Expected behavior: Formerly, all extensions listed there would be installed in the new container; I didn't need to list those in my any devcontainer.json neither.
Actual behavior: My new devcontainer has 0 extensions installed in it.
I got further and also tried to explicitly listed those extensions in my new container's devcontainer.json:
Expected behavior: extensions listed in devcontainer.json are install after the container is created.
Actual behavior: My new devcontainer has 0 extensions installed in it.
Steps to reproduce:
Remark: I use work settings profile (non default)
VS Code version: Code 1.76.0 (92da948, 2023-03-01T10:22:44.506Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.90.1-microsoft-standard-WSL2
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Extensions (21)
(1 theme extensions excluded)
A/B Experiments
The text was updated successfully, but these errors were encountered: