Case-sensitivity when opting out of VSCode extensions

Open
#10,382 0 comments 1 reaction 1 assignee View on GitHub

@chrmarti is already working on this.

Since Oct 11, 2024.

Assessment

This issue has not been assessed yet.

Description

bug containers
  • VSCode Version: 1.94.1
  • Local OS Version: macOS 14.2
  • Remote OS Version: Debian GNU/Linux 11 (bullseye)
  • Remote Extension/Connection Type: Containers

Steps to Reproduce:

  1. Add a feature that installs an extension in the devcontainer.json file, for example, the aws-cli feature:
"features": {
    "ghcr.io/devcontainers/features/aws-cli:1": {}
}
  1. Opt out of the extension using the following configuration:
"customizations": {
    "vscode": {
        "extensions": [
            "-amazonwebservices.aws-toolkit-vscode"
        ]
    }
}

Issue:

After launching the container, the extension is still present. In the feature, the extension's ID is written with uppercase letters: "AmazonWebServices.aws-toolkit-vscode". To make it work, you need to write it with the same casing:

"customizations": {
    "vscode": {
        "extensions": [
            "-AmazonWebServices.aws-toolkit-vscode"
        ]
    }
}

This should not be necessary. The check should not be case-sensitive.

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

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.

More from microsoft/vscode-remote-release

All issues in microsoft/vscode-remote-release

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.