Skip to content

See error message when swift.path is set #843

Closed
@award999

Description

@award999

Describe the bug
On windows (UPDATE: also seen on macOS) even when swift.path setting is set and the swift exe exists in that directory, see this error message
Screenshot 2024-06-05 at 1 17 08 PM

Seems to only happen when swift is not in PATH

To Reproduce
Steps to reproduce the behavior:

  1. Correctly select your toolchain
  2. Make sure swift is not in PATH
  3. Reload window

Expected behavior
If have a valid toolchain selected, shouldn't matter if cannot detect in PATH

Environment

  • OS: Windows 11
  • Swift version (output of swift --version): 6.0-SNAPSHOT and 5.10
  • Visual Studio Code version:
  • vscode-swift version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwontfixThis will not be worked on

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions