We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eb3417 commit 8db2391Copy full SHA for 8db2391
Core/Sources/Service/RealtimeSuggestionController.swift
@@ -113,6 +113,7 @@ public actor RealtimeSuggestionController {
113
114
Task { @WorkspaceActor in // Get cache ready for real-time suggestions.
115
guard UserDefaults.shared.value(for: \.preCacheOnFileOpen) else { return }
116
+ guard await XcodeInspector.shared.activeApplication?.isXcode ?? false else { return }
117
guard let fileURL = XcodeInspector.shared.realtimeActiveDocumentURL
118
else { return }
119
let (_, filespace) = try await Service.shared.workspacePool
0 commit comments