Within VSCode there is an extention Remote - Containers with option to save the installed extensions to a file name devcontainer.json
. This allows VSCode to install the necessary extensions when you are using a container-based environment.
However, this is not working. When I select the following option, no file is created. Or if I create the file it is not updated.
My VSCode setup is: * Win10 * VSCode 1.44.2 * This is being performed via the WSL2 remote connection.
Many Thanks,
Indeed Remote - Containers fails to put extensions' ids into devcontainer.json
... unless you create the .devcontainer/devcontainer.json
AND unless you put there some content:
{
"extensions": []
}
should be enough.
Actually, even
{
}
is enough.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With