File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import Preferences
66public protocol BuiltinExtension : CopilotForXcodeExtensionCapability {
77 /// An id that let the extension manager determine whether the extension is in use.
88 var suggestionServiceId : BuiltInSuggestionFeatureProvider { get }
9+ /// An identifier for the extension.
10+ var extensionIdentifier : String { get }
911
1012 /// All chat builders provided by this extension.
1113 var chatTabTypes : [ any ChatTab . Type ] { get }
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ import Workspace
1212}
1313
1414public final class CodeiumExtension : BuiltinExtension {
15+ public var extensionIdentifier : String { " com.codeium " }
16+
1517 public var suggestionServiceId : Preferences . BuiltInSuggestionFeatureProvider { . codeium }
1618
1719 public let suggestionService : CodeiumSuggestionService ?
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ import Preferences
77import Workspace
88
99public final class GitHubCopilotExtension : BuiltinExtension {
10+ public var extensionIdentifier : String { " com.github.copilot " }
11+
1012 public var suggestionServiceId : Preferences . BuiltInSuggestionFeatureProvider { . gitHubCopilot }
1113
1214 public let suggestionService : GitHubCopilotSuggestionService ?
You can’t perform that action at this time.
0 commit comments