-
Notifications
You must be signed in to change notification settings - Fork 86
Description
Describe the bug
Experienced this issue on Windows, but I guess this could be an issue on all platforms. When the Swift toolchain could not be detected, the user has the option to select a folder via a dialog. This does not seem to work but with no clear error message, no folder is accepted. Also it should be clearer how to find the correct folder. Is it the folder where the "swift" executable is? Setting a suitable folder directly in the setting of the extension seems to work better (but also missing guidance here).
To Reproduce
Steps to reproduce the behavior:
- Remove the environment variables set by the Swift installer.
- Open an SPM project in VS Code.
- When the message that no Swift toolchain was detected, use the option to select a folder.
- Select e.g. the folder containing swift.exe.
Expected behavior
It be clearer what folder to be selected (also for the setting), and the dialog should work or display an error message if the selected folder is not the right one.
Environment
- OS: Windowsa 11
- Swift version 6.2.1
- Visual Studio Code version: 1.106.0
- vscode-swift version: 2.14.0
Metadata
Metadata
Assignees
Labels
Type
Projects
Status