-
Notifications
You must be signed in to change notification settings - Fork 72
No longer notified to reload after xcode-select
#1472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think this is intended because you explicitly set a toolchain path in your settings using the first command. If a toolchain is set in settings the prompt won't appear because the user has explicitly overridden the toolchain and the system Xcode has no effect. See: https://github.com/swiftlang/vscode-swift/blob/main/src/toolchain/SelectedXcodeWatcher.ts#L75 |
ah so that's a distinction I didn't know about. I'll swap this from a bug to future enhancement. I never really know if I have it explicitly set in setting or if it is working off the xcode-select value so we could always prompt "We noticed you changed the xcode-select'ed version of Xcode....want to update the setting?" |
Maybe even have a "system default" option in the toolchain selection |
If the Xcode selected via xcode-select changes and the user has a "swift.path" setting configured, show warning notification suggesting they remove the setting or "Select Toolchain" Also trigger this warning on startup if the toolchain path is not under the selected Xcode.app Issue: swiftlang#1472
Describe the bug
We used to notify the user to reload the extension after detecting and
xcode-select
To Reproduce
Steps to reproduce the behavior:
Swift: Select Toolchain...
command and select a version of Xcodexcode-select -s
a different XcodeExpected behavior
A clear and concise description of what you expected to happen.
Environment
Additional context
N/A
The text was updated successfully, but these errors were encountered: