Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case-sensitivity when opting out of VSCode extensions #10382

Open
YoanMCN opened this issue Oct 11, 2024 · 0 comments
Open

Case-sensitivity when opting out of VSCode extensions #10382

YoanMCN opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels
containers Issue in vscode-remote containers

Comments

@YoanMCN
Copy link

YoanMCN commented Oct 11, 2024

  • 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.

@vs-code-engineering vs-code-engineering bot added the containers Issue in vscode-remote containers label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
containers Issue in vscode-remote containers
Projects
None yet
Development

No branches or pull requests

2 participants