swiftlang / vscode-swift

Visual Studio Code Extension for Swift
https://marketplace.visualstudio.com/items?itemName=sswg.swift-lang
Apache License 2.0
706 stars 47 forks source link

Don't include swift-latest symbolic link in available toolchains #865

Closed adam-fowler closed 2 weeks ago

adam-fowler commented 3 weeks ago

When you install a swift snapshot toolchain on macOS it setups up a swift-latest.xctoolchain symbolic link to point to it. We shouldn't include this symbolic link in the list of toolchains available when displaying the Select toolchain... menu

matthewbastien commented 3 weeks ago

Is there a reason you want to remove it? I feel like it's useful for people who always want to point their VSCode at the latest public Swift toolchain that they've downloaded.

adam-fowler commented 3 weeks ago

If we are going to keep it we should change the menu item to be Latest Installed Toolchain, or something similar, and verify the toolchain it is pointing to exists

award999 commented 2 weeks ago

Verified with b461f8f