We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b94ab81 commit 1b837d7Copy full SHA for 1b837d7
1 file changed
Tool/Sources/Preferences/Keys.swift
@@ -271,6 +271,17 @@ public extension UserDefaultPreferenceKeys {
271
generateDescription: true
272
)
273
),
274
+ .init(
275
+ commandId: "BuiltInCustomCommandSendCodeToChat",
276
+ name: "Send Selected Code to Chat",
277
+ feature: .chatWithSelection(
278
+ extraSystemPrompt: "",
279
+ prompt: """
280
+ {{selected_code}}
281
+ """,
282
+ useExtraSystemPrompt: true
283
+ )
284
+ ),
285
], key: "CustomCommands")
286
}
287
0 commit comments