Welcome tab still opens in Codespaces even when `workbench.startupEditor` is set to `"none"` in Remote settings
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.94.0, d78a74bcdfad14d5d3b1b782f87255d802b57511
- OS Version: Codespaces
Steps to Reproduce:
- Create a new codespace using a
.devcontainer.jsonwith"workbench.startupEditor": "none". - Welcome tab still appears on first launch.
Notes
Just wanted to re-surface https://github.com/microsoft/vscode/issues/160635, which doesn't seem to have been fixed by https://github.com/microsoft/vscode/pull/169674, at least in Codespaces. Per screenshots below, new codespaces still open for the first time with a Welcome tab, even with a minimalist .devcontainer.json containing only:
{
"customizations": {
"vscode": {
"settings": {
"workbench.startupEditor": "none"
}
}
}
}
Screenshots
CC @rongxin-liu
This appears to be an issue with configurationDefaults not being applied on the first launch. See the screen recording below:
https://github.com/user-attachments/assets/18f5aadf-83bc-4a1b-8d9f-0bbfe2342ef2
- Notice that my devcontainer configuration in the project sets
"workbench.startupEditor": "none". - Next, create a new Codespace for the project.
- While the environment is being set up, check the
workbench.startupEditorsetting, and it is set to "readme", coming from Codespaces configuration defaults. - After the environment is set up, check the
workbench.startupEditorsetting again, and it now correctly reflects my devcontainer settings. - Subsequent launches of the Codespace follow the startup behavior defined by the
workbench.startupEditorsetting.
@osortega, is there a way to apply devcontainer.json configuration defaults on the first launch?
I believe the default setting for Codespaces is always readme unless otherwise specified by the devcontainer.json that is sent from the GitHub API to the Codespaces web server.
There might be a regression in GitHub that is causing that info to not be passed correctly and therefore not overriding the default value