Skip to content

Commit 4fe2e13

Browse files
committed
fix quick edit history
1 parent 03e327c commit 4fe2e13

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

extensions/vscode/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,13 @@
280280
"command": "continue.quickEditHistoryUp",
281281
"mac": "up",
282282
"key": "up",
283-
"when": "continue.quickEditFocused"
283+
"when": "continue.quickEditHistoryFocused"
284284
},
285285
{
286286
"command": "continue.quickEditHistoryDown",
287287
"mac": "down",
288288
"key": "down",
289-
"when": "continue.quickEditFocused"
289+
"when": "continue.quickEditHistoryFocused"
290290
},
291291
{
292292
"command": "continue.acceptVerticalDiffBlock",

extensions/vscode/src/quickEdit/InputBoxWithHistory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,11 @@ export default class InputBoxWithHistory implements vscode.Disposable {
150150
try {
151151
vscode.commands.executeCommand(
152152
"setContext",
153-
"continue.quickEditFocused",
153+
"continue.quickEditHistoryFocused",
154154
true,
155155
);
156156

157-
return new Promise((resolve, reject) => {
157+
return await new Promise((resolve, reject) => {
158158
const completionDisposable = this.completionEventEmitter.event(
159159
(input) => {
160160
resolve(input);

0 commit comments

Comments
 (0)