Skip to content

Keeps reinstalling an extension I uninstalled #252

@whitequark

Description

@whitequark

Operating System

Linux

VSCode Version

1.97.2

Extension Version

1.0.11

Issue

I like the idea of this extension but it seems like it has several critical race conditions that require editing the configuration manually.

How to replicate

  1. Install and configure Settings Repository
  2. Install the Microsoft C/C++ extension
  3. Synchronize the settings
  4. Uninstall the Microsoft C/C++ extension and click "Restart Extension" right as it appears
  5. This extension immediately reinstalls the extension back

Log

INFO  Added subscriptions
DEBUG Distribution:
        Code: /home/whitequark/.config/Code/
        └ User: /home/whitequark/.config/Code/User
          ├ credentials: /home/whitequark/.config/Code/User/credentials.json
          ├ extensions:  /home/whitequark/.config/Code/User/extensions.json
          ├ keybindings: /home/whitequark/.config/Code/User/keybindings.json
          ├ locale:      /home/whitequark/.config/Code/User/locale.json
          ├ settings:    /home/whitequark/.config/Code/User/settings.json
          └ Snippets:    /home/whitequark/.config/Code/User/snippets
        .vscode: /home/whitequark/.vscode/
        ├  Extensions: /home/whitequark/.vscode/extensions/
        ├  ExtensionsObsolete: /home/whitequark/.vscode/extensions/.obsolete
        └  argv:       /home/whitequark/.vscode/argv.json
        macos: false
INFO  Added distribution
DEBUG repo: https://github.com/whitequark/vscode-settings.git
DEBUG branch: main
DEBUG autoSync: true
DEBUG includeHostnameInCommitMessage: true
DEBUG authenticated: true
INFO  Preparing to import settings from https://github.com/whitequark/vscode-settings.git@main
DEBUG Git clone https://whitequark:***@github.com/whitequark/vscode-settings.git
INFO  ✔️ Installed ms-vscode.cpptools
INFO  ❌ Uninstalled ms-vscode.cpptools-extension-pack
INFO  ❌ Uninstalled ms-vscode.cpptools-themes
INFO  ❌ Uninstalled zokugun.cron-tasks
WARN  Locale not found
WARN  Snippets not found
INFO  Imported settings from https://github.com/whitequark/vscode-settings.git@main

It looks like the log is cleared when restarting extensions, unfortunately. Also, there is nothing new in the log right after I uninstall the cpptools extension.

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions