microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.62k stars 279 forks source link

[devcontainer over SSH] configured dotfiles are applied, but not reflected in settings UI #9926

Open akosyakov opened 3 months ago

akosyakov commented 3 months ago

While over SSH, configured dotfiles are applied to the devcontainer, but not reflected in settings UI.

Screenshot 2024-05-27 at 11 20 51

Steps to Reproduce:

  1. Configure dotfiles in user settings
  2. Open devcontainer over remote SSH
  3. Dotfiles are applied, but from settings it looks like they are not configured
local user settings remote user settings remote machine settings

Does this issue occur when you try this locally?: Yes/No Does this issue occur when you try this locally and all extensions are disabled?: Yes/No

chrmarti commented 3 months ago

I agree this is confusing. We pick up the Remote setting if there is one, but then fall back to the local setting.

Ideally the UI would allow the user to edit the setting in both the Remote and the User tab of the settings editor, but there is no setting scope supporting this.

The reason this works in the extension has to do with the extension running as a remote resolver when the setting is read.