We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c47a1d8 commit 8f78098Copy full SHA for 8f78098
extensions/typescript-language-features/src/languageFeatures/util/copilot.ts
@@ -69,8 +69,10 @@ export class EditorChatFollowUp implements Command {
69
expand.action.changes.flatMap((c) => c.textChanges)
70
)
71
: expand.range;
72
+ const initialSelection = initialRange ? new vscode.Selection(initialRange.start, initialRange.end) : undefined;
73
await vscode.commands.executeCommand('vscode.editorChat.start', {
74
initialRange,
75
+ initialSelection,
76
message,
77
autoSend: true,
78
});
0 commit comments