Skip to content

Use VS Code's env.isTelemetryEnabled flag as telemetry opt-in #3874

@DanTup

Description

@DanTup

VS Code has a shared flag for extensions to use (env.isTelemetryEnabled) so that each extension doesn't do its own prompting.

We should switch to this, but still honour any explicit opt-outs from dart.allowAnalytics, but hide that setting and update any docs about it to point to the VS Code switch.

https://code.visualstudio.com/api/references/vscode-api#env.isTelemetryEnabled

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions