Skip to content

Commit d31447b

Browse files
committed
Query should be in a code block to avoid tex interpolation
Fixes #7755
1 parent fa37e36 commit d31447b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/settingsUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ async function openSettingsAtQuery(config: vscode.WorkspaceConfiguration, inspec
166166
}
167167

168168
async function openCopilotForQuery(currentQuery: string) {
169-
const chatMessage = vscode.l10n.t('I want to edit this GitHub search query: "{0}". Modify it so that it ', currentQuery);
169+
const chatMessage = vscode.l10n.t('I want to edit this GitHub search query: \n```\n{0}\n```\nModify it so that it ', currentQuery);
170170

171171
// Open chat with the query pre-populated
172172
await vscode.commands.executeCommand(commands.OPEN_CHAT, { query: chatMessage, isPartialQuery: true });

0 commit comments

Comments
 (0)