feat: add jump commands
This commit is contained in:
parent
57fceb53a5
commit
dd162c889d
1 changed files with 22 additions and 2 deletions
|
|
@ -350,6 +350,16 @@
|
|||
"category": "Continue",
|
||||
"title": "Continue: Force Next Edit"
|
||||
},
|
||||
{
|
||||
"command": "continue.acceptJump",
|
||||
"category": "Continue",
|
||||
"title": "Continue: Accept Jump Suggestion"
|
||||
},
|
||||
{
|
||||
"command": "continue.rejectJump",
|
||||
"category": "Continue",
|
||||
"title": "Continue: Reject Jump Suggestion"
|
||||
},
|
||||
{
|
||||
"command": "continue.generateRule",
|
||||
"category": "Continue",
|
||||
|
|
@ -451,12 +461,22 @@
|
|||
{
|
||||
"command": "continue.nextEditWindow.hideNextEditSuggestion",
|
||||
"key": "escape",
|
||||
"when": "editorTextFocus && nextEditWindowActive"
|
||||
"when": "editorTextFocus && nextEditWindowActive && !continue.jumpDecorationVisible"
|
||||
},
|
||||
{
|
||||
"command": "continue.nextEditWindow.acceptNextEditSuggestion",
|
||||
"key": "tab",
|
||||
"when": "editorTextFocus && nextEditWindowActive"
|
||||
"when": "editorTextFocus && nextEditWindowActive && !continue.jumpDecorationVisible"
|
||||
},
|
||||
{
|
||||
"command": "continue.acceptJump",
|
||||
"key": "tab",
|
||||
"when": "editorTextFocus && continue.jumpDecorationVisible"
|
||||
},
|
||||
{
|
||||
"command": "continue.rejectJump",
|
||||
"key": "escape",
|
||||
"when": "editorTextFocus && continue.jumpDecorationVisible"
|
||||
}
|
||||
],
|
||||
"submenus": [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue