Skip to content

Commit 573478a

Browse files
committed
docs: clarify VS Code-specific autocomplete shortcut
- Update documentation to specify VS Code for forced suggestion - Remove duplicate VS Code shortcut binding in package.json - Add missing force autocomplete shortcut to GUI config
1 parent 4952c16 commit 573478a

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

docs/docs/autocomplete/how-to-use-it.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ Reject a full suggestion with <kbd>Esc</kbd>
2424

2525
For more granular control, use <kbd>cmd/ctrl</kbd> + <kbd>→</kbd> to accept parts of the suggestion word-by-word.
2626

27-
### Forcing a suggestion
27+
### Forcing a suggestion (VS Code)
2828

2929
If you want to trigger a suggestion immediately without waiting, or if you've dismissed a suggestion and want a new one, you can force it by using the keyboard shortcut **<kbd>cmd/ctrl</kbd> + <kbd>alt</kbd> + <kbd>space</kbd>**.

extensions/vscode/package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,6 @@
419419
{
420420
"command": "continue.forceAutocomplete",
421421
"key": "ctrl+alt+space",
422-
"when": "editorTextFocus && !editorHasSelection && !editorReadOnly && !inSnippetMode"
423-
},
424-
{
425-
"command": "continue.forceAutocomplete",
426-
"key": "cmd+alt+space",
427422
"mac": "cmd+alt+space",
428423
"when": "editorTextFocus && !editorHasSelection && !editorReadOnly && !inSnippetMode"
429424
},

gui/src/pages/config/KeyboardShortcuts.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ const vscodeShortcuts: Omit<KeyboardShortcutProps, "isEven">[] = [
7575
shortcut: "cmd K cmd A",
7676
description: "Toggle Autocomplete Enabled",
7777
},
78+
{
79+
shortcut: "cmd alt space",
80+
description: "Force an Autocomplete Trigger",
81+
},
7882
{
7983
shortcut: "cmd K cmd M",
8084
description: "Toggle Full Screen",

0 commit comments

Comments
 (0)