Skip to content

Better handling for incorrect or unavailable swift toolchain in .swift-version #2070

@rbenegal

Description

@rbenegal

Is your feature request related to a problem? Please describe.
If someone types an incorrect or outdated swift toolchain in a .swift-version file. Then the swiftly install may succeed but the swift toolchain will fail. The user is still prompted to restart vs code to complete the swiftly install. There is a "Failed to install" prompt that shows up in the corner but it is hard to see behind the pop-up:

Image

Describe the solution you'd like
Instead of asking the user to restart the extension could show a notification that the swiftly install succeeded but also show another notification that the toolchain install failed. This may reduce any confusion from the Restart VS Code prompt where the user expects that the reload will have the unavailable toolchain.

Metadata

Metadata

Assignees

Labels

SwiftlyIssues related to Swiftly integration in the extension.enhancementNew feature or request

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions