This is only happens on one machine, others seems to be better.
With SwiftUI, no code completion is shown after '@'. Anything like @State
, @Published
, @Binding
, will not complete at all.
If I remove import SwiftUI
, completion will start working, but will stop once the import statement returns.
If I only have import Combine
, then all the SwiftUI
is working, but not the Combine
(@State
will complete, @Published
will not).
I tried (while restarting the Mac after each time), toggle code completion, cleared all DerivedData, re-downloading Xcode. Not sure what else can be done.
(While it only happens on one machine, M1 mac, other people had some other things like completion after @S
but none after @St
).