Skip to content

Toolchain selection quick pick does not update UI after selection #2009

@jcubit

Description

@jcubit

Describe the bug
The toolchain selection quick pick is not updated after selecting a swiftly toolchain

To Reproduce
Steps to reproduce the behavior:

  1. Install a few different toolchains via Swiftly.
  2. Run the Swift: Select Toolchain... command.
  3. Select a swiftly toolchain which is not in use
  4. Add vscode workspace configuration,
  5. Reload extensions with the vscode prompt

You'll notice that when you open again the toolchain picker the selected toolchain was not updated and is showing the old toolchain in use.

Expected behavior
The next time that I run the "Swift: Select Toolchain... command" I expect to see the previously selected toolchain to be "in use" in the UI.

Environment

  • OS: macOS
  • Swift version (output of swift --version)
    Apple Swift version 6.2.3 (swift-6.2.3-RELEASE)
    Target: arm64-apple-macosx15.0
    Build config: +assertions
  • Visual Studio Code version: 1.108.0-insider

Additional context
Add any other context about the problem here.
Relates to #1850

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds verificationIssue has been fixed, but requires verification before closing

    Type

    No type

    Projects

    Status

    Needs Verification

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions