fix quick edit history
This commit is contained in:
parent
03e327cc59
commit
4fe2e138a4
3 changed files with 6 additions and 6 deletions
4
extensions/vscode/package-lock.json
generated
4
extensions/vscode/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "0.9.174",
|
||||
"version": "0.9.175",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "0.9.174",
|
||||
"version": "0.9.175",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@electron/rebuild": "^3.2.10",
|
||||
|
|
|
|||
|
|
@ -280,13 +280,13 @@
|
|||
"command": "continue.quickEditHistoryUp",
|
||||
"mac": "up",
|
||||
"key": "up",
|
||||
"when": "continue.quickEditFocused"
|
||||
"when": "continue.quickEditHistoryFocused"
|
||||
},
|
||||
{
|
||||
"command": "continue.quickEditHistoryDown",
|
||||
"mac": "down",
|
||||
"key": "down",
|
||||
"when": "continue.quickEditFocused"
|
||||
"when": "continue.quickEditHistoryFocused"
|
||||
},
|
||||
{
|
||||
"command": "continue.acceptVerticalDiffBlock",
|
||||
|
|
|
|||
|
|
@ -150,11 +150,11 @@ export default class InputBoxWithHistory implements vscode.Disposable {
|
|||
try {
|
||||
vscode.commands.executeCommand(
|
||||
"setContext",
|
||||
"continue.quickEditFocused",
|
||||
"continue.quickEditHistoryFocused",
|
||||
true,
|
||||
);
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
return await new Promise((resolve, reject) => {
|
||||
const completionDisposable = this.completionEventEmitter.event(
|
||||
(input) => {
|
||||
resolve(input);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue