Describe the bug
Was in a situation where the toolchain foo the User set swift.path setting no longer existed, but the error message was "Unable to automatically discover your Swift toolchain. Either install a toolchain from Swift.org or provide the path to an existing toolchain." There was a swift in the path so took a while to realize what the problem was. A more descriptive error would help
To Reproduce
Steps to reproduce the behavior:
Set the User swift.path setting to some non-existent path, ex. "foo"
Opened a new swift dev container
Click on the "Create New Swift Project" button
See error notification
Expected behavior
Error message should indicate the set swift.path does not exist. Maybe with options to "Remove" and/or "Select Toolchain"
Environment
OS: [e.g. Ubuntu 20.04] N/A
Swift version (output of swift --version) 6.0 SNAPSHOT
Describe the bug Was in a situation where the toolchain foo the User set swift.path setting no longer existed, but the error message was "Unable to automatically discover your Swift toolchain. Either install a toolchain from Swift.org or provide the path to an existing toolchain." There was a
swift
in the path so took a while to realize what the problem was. A more descriptive error would helpTo Reproduce Steps to reproduce the behavior:
swift.path
setting to some non-existent path, ex. "foo"Expected behavior Error message should indicate the set
swift.path
does not exist. Maybe with options to "Remove" and/or "Select Toolchain"Environment
swift --version
) 6.0 SNAPSHOTAdditional context N/A