Skip to content

Commit ecc79e1

Browse files
committed
Rename Real-time Suggestion command to Prepare for Real-time Suggestion
1 parent 103a916 commit ecc79e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Core/Sources/Service/RealtimeSuggestionController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public actor RealtimeSuggestionController {
124124
filespace.codeMetadata.uti = ""
125125
do {
126126
try await XcodeInspector.shared.safe.latestActiveXcode?
127-
.triggerCopilotCommand(name: "Real-time Suggestions")
127+
.triggerCopilotCommand(name: "Prepare for Real-time Suggestions")
128128
} catch {
129129
if filespace.codeMetadata.uti?.isEmpty ?? true {
130130
filespace.codeMetadata.uti = nil

EditorExtension/RealtimeSuggestionCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import Foundation
44
import XcodeKit
55

66
class RealtimeSuggestionsCommand: NSObject, XCSourceEditorCommand, CommandType {
7-
var name: String { "Real-time Suggestions" }
7+
var name: String { "Prepare for Real-time Suggestions" }
88

99
func perform(
1010
with invocation: XCSourceEditorCommandInvocation,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Whenever your code is updated, the app will automatically fetch suggestions for
228228

229229
Commands called by the app:
230230

231-
- Real-time Suggestions: Call only by Copilot for Xcode. When suggestions are successfully fetched, Copilot for Xcode will run this command to present the suggestions.
231+
- Prepare for Real-time Suggestions: Call only by Copilot for Xcode. When suggestions are successfully fetched, Copilot for Xcode will run this command to present the suggestions.
232232
- Prefetch Suggestions: Call only by Copilot for Xcode. In the background, Copilot for Xcode will occasionally run this command to prefetch real-time suggestions.
233233

234234
### Chat

0 commit comments

Comments
 (0)