diff --git a/core/commands/slash/edit.ts b/core/commands/slash/edit.ts index bb90086b1..38291f4c2 100644 --- a/core/commands/slash/edit.ts +++ b/core/commands/slash/edit.ts @@ -226,7 +226,7 @@ const EditSlashCommand: SlashCommand = { } if (!contextItemToEdit) { - yield "Select (highlight and press `cmd+shift+L` (MacOS) / `ctrl+shift+L` (Windows)) the code that you want to edit first"; + yield "Please highlight the code you want to edit, then press `cmd/ctrl+shift+L` to add it to chat"; return; } diff --git a/extensions/vscode/src/activation/inlineTips.ts b/extensions/vscode/src/activation/inlineTips.ts index 11d3b385b..6f6efc320 100644 --- a/extensions/vscode/src/activation/inlineTips.ts +++ b/extensions/vscode/src/activation/inlineTips.ts @@ -3,7 +3,7 @@ import { getMetaKeyLabel } from "../util/util"; const inlineTipDecoration = vscode.window.createTextEditorDecorationType({ after: { - contentText: `${getMetaKeyLabel()} L to select code, ${getMetaKeyLabel()} I to edit`, + contentText: `Add to chat (${getMetaKeyLabel()} L) | Edit highlighted code (${getMetaKeyLabel()} I).`, color: "#888", margin: "0 0 0 6em", fontWeight: "bold", @@ -32,7 +32,7 @@ function handleSelectionChange(e: vscode.TextEditorSelectionChangeEvent) { const line = Math.max(0, selection.start.line - 1); const hoverMarkdown = new vscode.MarkdownString( - `Use ${getMetaKeyLabel()} L to select code, or ${getMetaKeyLabel()} I to edit highlighted code. Click [here](command:continue.hideInlineTip) if you don't want to see these inline suggestions.`, + `Click [here](command:continue.hideInlineTip) to hide these suggestions`, ); hoverMarkdown.isTrusted = true; hoverMarkdown.supportHtml = true;