Skip to content

Add a when clause context key that can detect if another extension is installed/enabled #326815

Closed

Description

We can use when clause contexts to hide/show things in various places, but there isn't one currently for whether another extension is installed+enabled. Typically this would be done by having the other extension set a custom context, but if you don't control the other extension or want to make this work without it activating, then support is needed in VSCode itself.

I'll be submitting a PR for this.

Activity

  1. added
    unreleased
    on Jul 23, 2026
  2. added this to the 1.131.0 milestone on Jul 23, 2026
  3. added
    insiders-released
    and removed
    unreleased
    on Jul 24, 2026
  4. bwateratmsft commented on Jul 28, 2026

    @bwateratmsft
    ContributorAuthor

    Verified this is working E2E in the latest stable VSCode.

  5. locked and limited conversation to collaborators on Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

insiders-released

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions