From 6ba867b8ecb488f32b2d827a94ad0280a3ba09f7 Mon Sep 17 00:00:00 2001 From: tshino Date: Sat, 4 Feb 2023 16:51:17 +0900 Subject: [PATCH 1/2] Fix new suggestion related keys --- generator/config.json | 4 ++++ package.json | 12 ++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/generator/config.json b/generator/config.json index b7a20048..323e8190 100644 --- a/generator/config.json +++ b/generator/config.json @@ -39,8 +39,11 @@ [ "editor.action.inlineSuggest.commit", "side-effect" ], [ "editor.action.inlineSuggest.hide", "side-effect" ], [ "editor.action.inlineSuggest.trigger", "side-effect" ], + [ "editor.action.inlineSuggest.undo", "side-effect" ], + [ "editor.action.inlineSuggest.acceptNextWord", "side-effect" ], [ "editor.action.triggerSuggest", "side-effect" ], + [ "focusSuggestion", "side-effect" ], [ "hideSuggestWidget", "side-effect" ], [ "insertNextSuggestion", "side-effect" ], [ "insertPrevSuggestion", "side-effect" ], @@ -63,6 +66,7 @@ [ "leaveSnippet", "side-effect" ], [ "editor.action.insertSnippet", "side-effect" ], [ "editor.action.showSnippets", "side-effect" ], + [ "editor.action.surroundWithSnippet", "side-effect" ], [ "jumpToNextSnippetPlaceholder", "side-effect" ], [ "jumpToPrevSnippetPlaceholder", "side-effect" ] ], diff --git a/package.json b/package.json index c97b5897..dc6be6bc 100644 --- a/package.json +++ b/package.json @@ -2954,7 +2954,8 @@ "mac": "cmd+right", "command": "kb-macro.wrap", "args": { - "command": "editor.action.inlineSuggest.acceptNextWord" + "command": "editor.action.inlineSuggest.acceptNextWord", + "record": "side-effect" }, "when": "kb-macro.active && inlineSuggestionVisible && !editorReadonly" }, @@ -3003,7 +3004,8 @@ "mac": "cmd+left", "command": "kb-macro.wrap", "args": { - "command": "editor.action.inlineSuggest.undo" + "command": "editor.action.inlineSuggest.undo", + "record": "side-effect" }, "when": "kb-macro.active && canUndoInlineSuggestion && !editorReadonly" }, @@ -4391,7 +4393,8 @@ "mac": "cmd+i", "command": "kb-macro.wrap", "args": { - "command": "focusSuggestion" + "command": "focusSuggestion", + "record": "side-effect" }, "when": "kb-macro.active && suggestWidgetVisible && textInputFocus && !config.editor.suggest.selectQuickSuggestions && !suggestWidgetHasFocusedSuggestion" }, @@ -4418,7 +4421,8 @@ "key": "ctrl+space", "command": "kb-macro.wrap", "args": { - "command": "focusSuggestion" + "command": "focusSuggestion", + "record": "side-effect" }, "when": "kb-macro.active && suggestWidgetVisible && textInputFocus && !config.editor.suggest.selectQuickSuggestions && !suggestWidgetHasFocusedSuggestion" }, From 78ef7b3dc1e1db078fc870979f229edf3af37fe1 Mon Sep 17 00:00:00 2001 From: tshino Date: Sat, 4 Feb 2023 16:57:45 +0900 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 416b2660..a89c9f94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to the Keyboard Macro Bata extension will be documented in t ### [Unreleased] - Update - Added a tooltip on the `REC` mark on the status bar to be clear. [#197](https://github.com/tshino/vscode-kb-macro/issues/197) + - Added support for new suggestion related keys. [#202](https://github.com/tshino/vscode-kb-macro/pull/202) - Updated default keybindings wrappers based on vscode 1.75.0. [#201](https://github.com/tshino/vscode-kb-macro/pull/201) - Updated keymap wrapper for Atom Keymap (v3.3.0).