microsoft / microsoft/vscode-remote-release

devcontainer vscode settings not taking effect in remote container

Open
#7,155 7 comments 0 reactions 1 assignee View on GitHub

@chrmarti is already working on this.

Since Sep 5, 2022.

containers under-discussion
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

  • VSCode Version: 1.71.0 (Universal)
  • Local OS Version: macOS Monterey 12.5.1
  • Local chip architecture: Apple Silicon
  • Reproduces in: Remote - Containers

Maybe I'm not understanding how this is supposed to work . . .

I have a devcontainer.json to which I added some settings:

  "customizations": {
    "vscode": {
      "extensions": [...deleted for brevity...],
      "settings": {
        "rubyTestExplorer.testFramework": "rspec",
        "rubyTestExplorer.logpanel": true,
        "rubyTestExplorer.debugCommand": "rdebug-ide",
        "rubyTestExplorer.filePattern": [
          "*_spec.rb"
        ]
      }
    }

After rebuilding the devcontainer and restarting VSCode I'd expect these settings to be present in my remote container but they are not:

> cat ~/.vscode-server/data/Machine
{}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.