From 5916a4d0a6eaf89a77316c1a56dee34fb91fbfd6 Mon Sep 17 00:00:00 2001 From: axb Date: Thu, 13 Mar 2025 13:38:00 +0800 Subject: [PATCH] remove '@' when add selection to context --- src/shared/support-prompt.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/support-prompt.ts b/src/shared/support-prompt.ts index 3861da3139..ca22360632 100644 --- a/src/shared/support-prompt.ts +++ b/src/shared/support-prompt.ts @@ -96,7 +96,7 @@ Provide the improved code along with explanations for each enhancement.`, label: "Add to Context", description: "Add context to your current task or conversation. Useful for providing additional information or clarifications. Available in code actions (lightbulb icon in the editor). and the editor context menu (right-click on selected code).", - template: `@/\${filePath}: + template: `\${filePath}: \`\`\` \${selectedText} \`\`\``,