Open
Description
Description


Developers have been dealing with this for nearly 10 years, wasting countless hours.
Here are a couple of very simple examples showcasing how Xcode provides completely useless autocomplete suggestions when it's unable to resolve a symbol.
Reproduction
func f(_ b: Bool) {}
func g() {
f(missing.x.)
}
or
func f(_ b: Bool) {}
func g() {
f(missing.x == .)
}
Expected behavior
Autocomplete does not show anything
Environment
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1)
Target: arm64-apple-macosx15.0
Additional information
No response