这是indexloc提供的服务,不要输入任何密码
Skip to content

DevPod is not installing extensions in VS Code #1891

@sergioaten

Description

@sergioaten

What happened?

What did you expect to happen instead?

How can we reproduce the bug? (as minimally and precisely as possible)

My devcontainer.json:

{
  "name": "Python",
  "build": {
    "context": "..",
    "dockerfile": "Dockerfile"
  },
  "features": {
    "ghcr.io/devcontainers/features/azure-cli:1": {},
    "ghcr.io/devcontainers/features/common-utils:2.5.1": {
      "installZsh": true,
      "configureZshAsDefaultShell": true
    },
    "ghcr.io/devcontainers/features/github-cli:1": {}
  },
  "postCreateCommand": "./.devcontainer/post-create.sh > ~/post.log",
  "customizations": {
    "vscode": {
      "settings": {
        "editor.fontFamily": "CaskaydiaCove Nerd Font",
        "editor.formatOnSave": true,
        "terminal.integrated.fontFamily": "CaskaydiaCove Nerd Font",
        "[python]": {
          "editor.defaultFormatter": "ms-python.black-formatter"
        },
        "python.defaultInterpreterPath": "${containerEnv:POETRY_VIRTUALENV_PATH}/bin/python",
        "black-formatter.args": [
          "--line-length",
          "99",
          "--preview",
          "--enable-unstable-feature",
          "string_processing"
        ],
        "[json]": {
          "editor.defaultFormatter": "esbenp.prettier-vscode"
        }
      },
      "extensions": [
        "ms-python.debugpy",
        "ms-python.black-formatter",
        "ms-python.pylint",
        "mhutchie.git-graph",
        "esbenp.prettier-vscode",
        "bierner.github-markdown-preview",
        "redhat.vscode-yaml",
        "github.vscode-github-actions"
      ]
    }
  }
}

Local Environment:

  • DevPod Version: v0.6.15
  • Operating System: mac
  • ARCH of the OS: ARM64

DevPod Provider:

  • Cloud Provider: N/A
  • Kubernetes Provider: N/A
  • Local/remote provider: local or ssh
  • Custom provider: N/A

Anything else we need to know?

I tried with devpod in local and with the Azure provider too and the result was the same. It is no installing extensions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions