Skip to content

Commit d049ef1

Browse files
committed
Merge branch 'feature/bump-language-server-version-231210' into develop
2 parents 6f85d12 + c91bdf1 commit d049ef1

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

Tool/Sources/CodeiumService/CodeiumInstallationManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Terminal
33

44
public struct CodeiumInstallationManager {
55
private static var isInstalling = false
6-
static let latestSupportedVersion = "1.4.15"
6+
static let latestSupportedVersion = "1.6.6"
77

88
public init() {}
99

Tool/Sources/GitHubCopilotService/GitHubCopilotInstallationManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public struct GitHubCopilotInstallationManager {
1010
return URL(string: link)!
1111
}
1212

13-
static let latestSupportedVersion = "1.11.4"
13+
static let latestSupportedVersion = "1.12.1"
1414

1515
public init() {}
1616

Tool/Sources/Workspace/Filespace.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ public final class Filespace {
8888

8989
// MARK: Git Ignore
9090

91+
@WorkspaceActor
9192
private var gitIgnoreStatus: GitIgnoreStatus?
93+
@WorkspaceActor
9294
public var isGitIgnored: Bool {
9395
get async {
9496
@Dependency(\.gitIgnoredChecker) var gitIgnoredChecker

Tool/Sources/WorkspaceSuggestionService/SuggestionWorkspacePlugin.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public final class SuggestionServiceWorkspacePlugin: WorkspacePlugin {
8888
workspace?.refreshUpdateTime()
8989
workspace?.openedFileRecoverableStorage.openFile(fileURL: filespace.fileURL)
9090
Task {
91+
guard !(await filespace.isGitIgnored) else { return }
9192
// check if file size is larger than 15MB, if so, return immediately
9293
if let attrs = try? FileManager.default
9394
.attributesOfItem(atPath: filespace.fileURL.path),
@@ -106,6 +107,7 @@ public final class SuggestionServiceWorkspacePlugin: WorkspacePlugin {
106107
filespace.refreshUpdateTime()
107108
workspace?.refreshUpdateTime()
108109
Task {
110+
guard !(await filespace.isGitIgnored) else { return }
109111
try await suggestionService?.notifyChangeTextDocument(
110112
fileURL: filespace.fileURL,
111113
content: content
@@ -117,6 +119,7 @@ public final class SuggestionServiceWorkspacePlugin: WorkspacePlugin {
117119
filespace.refreshUpdateTime()
118120
workspace?.refreshUpdateTime()
119121
Task {
122+
guard !(await filespace.isGitIgnored) else { return }
120123
try await suggestionService?.notifySaveTextDocument(fileURL: filespace.fileURL)
121124
}
122125
}

0 commit comments

Comments
 (0)