Skip to content

Commit f5dcfaf

Browse files
authored
Query should be in a code block to avoid tex interpolation (#7790)
* Query should be in a code block to avoid tex interpolation Fixes #7755 * Clearer instructions. Fixes #7753
1 parent 14e3cc9 commit f5dcfaf

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```\nOutput only one, minimally modified query in a codeblock.\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)