Skip to content

copilot plugin marketplace remove command does not clean up settings.json #3268

Description

@pbiasotti-southworks

Describe the bug

When running the command copilot plugin marketplace remove {your-markeplace} --force, the plugins from that marketplace are uninstalled

Affected version

GitHub Copilot CLI 1.0.45

Steps to reproduce the behavior

  1. Install a plugin using copilot plugin install {your-plugin}@{your-marketplace}
  2. Check $HOME\.copilot\settings.json and a new entry is added under enabledPlugins
  3. Remove the marketplace and all the plugins with the command copilot plugin marketplace remove {your-marketplace} --force
  4. Re-add the marketplace copilot plugin marketplace add {org}\{repo}
  5. Check that $HOME\.copilot\settings.json entry was not removed
  6. Open copilot and it will auto-install all the plugins in enabledPlugins

Expected behavior

The enabledPlugins property in the settings.json file should be removed to avoid auto-install

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationConfig files, instruction files, settings, and environment variablesarea:pluginsPlugin system, marketplace, hooks, skills, extensions, and custom agents

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions