Skip to content

Commit f25057c

Browse files
committed
Rename SuggestionServiceProviderType to SuggestionFeatureProvider
1 parent f2ac09a commit f25057c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Core/Sources/Preferences/SuggestionServiceProviderType.swift renamed to Core/Sources/Preferences/SuggestionFeatureProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Foundation
22

3-
public enum SuggestionServiceProviderType: Int {
3+
public enum SuggestionFeatureProvider: Int {
44
case gitHubCopilot
55
case codeium
66
}

Core/Sources/SuggestionService/SuggestionService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public final class SuggestionService: SuggestionServiceType {
3232

3333
var codeiumService: CodeiumSuggestionServiceType?
3434

35-
var serviceType: SuggestionServiceProviderType { .gitHubCopilot }
35+
var serviceType: SuggestionFeatureProvider { .codeium }
3636

3737
public init(projectRootURL: URL, onServiceLaunched: @escaping (SuggestionServiceType) -> Void) {
3838
self.projectRootURL = projectRootURL

0 commit comments

Comments
 (0)