Skip to content

Importing removes custom extensions #121

Closed
@selflesssloth

Description

@selflesssloth

Expected Behavior

When importing an existing project the neccessary extensions are added to .vscode/extensions.json, prior defined "custom" extensions should remain.

Current Behavior

When importing an existing project .vscode/extensions.json gets overridden by the default configuration (independent of prior settings).

Steps to Reproduce

  1. Get pico project
  2. Add extension to .vscode/extensions.json
  3. Import project via Pico extension

Details

Specifically this .json

{
    "recommendations": [
        "marus25.cortex-debug",
        "ms-vscode.cpptools",
        "ms-vscode.cpptools-extension-pack",
        "ms-vscode.vscode-serial-monitor",
        "raspberry-pi.raspberry-pi-pico",
        "trunk.io",
    ]
}

gets changed to

{
    "recommendations": [
        "marus25.cortex-debug",
        "ms-vscode.cpptools",
        "ms-vscode.cpptools-extension-pack",
        "ms-vscode.vscode-serial-monitor",
        "raspberry-pi.raspberry-pi-pico",
    ]
}

Context (Environment)

  • debian 12 (bookworm), amd64
  • VSCodium
Version: 1.95.2
Release: 24313
Commit: 7656a0bea17ba6cf301721572e10c9035bb378e6
Date: 2024-11-08T18:21:12.757Z
Electron: 32.2.1
ElectronBuildId: undefined
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Linux x64 6.1.0-27-amd64
  • Pico extension v0.17.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions