Skip to content

Commit a512b6c

Browse files
committed
Rename command
1 parent 024fcca commit a512b6c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Core/Sources/SuggestionWidget/WidgetView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ struct WidgetContextMenu: View {
195195
Button(action: {
196196
store.send(.openModificationButtonClicked)
197197
}) {
198-
Text("Write or Modify Code")
198+
Text("Write or Edit Code")
199199
}
200200

201201
customCommandMenu()

EditorExtension/PromptToCodeCommand.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 PromptToCodeCommand: NSObject, XCSourceEditorCommand, CommandType {
7-
var name: String { "Write or Modify Code" }
7+
var name: String { "Write or Edit Code" }
88

99
func perform(
1010
with invocation: XCSourceEditorCommandInvocation,

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ This feature is recommended when you need to update a specific piece of code. So
304304

305305
#### Commands
306306

307-
- Write or Modify Code: Open a modification window, where you can use natural language to write or edit selected code.
307+
- Write or Edit Code: Open a modification window, where you can use natural language to write or edit selected code.
308308
- Accept Modification: Accept the result of modification.
309309

310310
### Custom Commands

0 commit comments

Comments
 (0)