feat: focus on chat input after apply
This commit is contained in:
parent
f5a880252d
commit
c7cfc717a1
2 changed files with 11 additions and 1 deletions
|
|
@ -335,6 +335,7 @@ class DiffStreamHandler(
|
|||
|
||||
private fun setClosed() {
|
||||
sendUpdate(ApplyStateStatus.CLOSED)
|
||||
project.service<ContinuePluginService>().sendToWebview("focusContinueInputWithoutClear", Nil)
|
||||
resetState()
|
||||
}
|
||||
}
|
||||
|
|
@ -141,7 +141,16 @@ export class VerticalDiffManager {
|
|||
|
||||
this.disableDocumentChangeListener();
|
||||
|
||||
vscode.commands.executeCommand("setContext", "continue.diffVisible", false);
|
||||
void vscode.commands.executeCommand(
|
||||
"setContext",
|
||||
"continue.diffVisible",
|
||||
false,
|
||||
);
|
||||
|
||||
void this.webviewProtocol.request(
|
||||
"focusContinueInputWithoutClear",
|
||||
undefined,
|
||||
);
|
||||
}
|
||||
|
||||
async acceptRejectVerticalDiffBlock(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue