Skip to content

Commit

Permalink
Change trigger inline suggestion keybinding to Ctrl+Alt+Space (#14669)
Browse files Browse the repository at this point in the history
* Change trigger inline suggestion keybinding to Ctrl+Alt+Space

fixed #14665
  • Loading branch information
JonasHelming authored Dec 25, 2024
1 parent e4ca643 commit 02f4192
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const AICodeCompletionPreferencesSchema: PreferenceSchema = {
type: 'boolean',
description: 'Automatically trigger AI completions inline within any (Monaco) editor while editing.\
\n\
Alternatively, you can manually trigger the code via the command "Trigger Inline Suggestion" or the default shortcut "SHIFT+Space".',
Alternatively, you can manually trigger the code via the command "Trigger Inline Suggestion" or the default shortcut "Ctrl+Alt+Space".',
default: false
},
[PREF_AI_INLINE_COMPLETION_EXCLUDED_EXTENSIONS]: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class AIFrontendApplicationContribution implements FrontendApplicationCon
registerKeybindings(keybindings: KeybindingRegistry): void {
keybindings.registerKeybinding({
command: 'editor.action.inlineSuggest.trigger',
keybinding: 'Shift+Space',
keybinding: 'Ctrl+Alt+Space',
when: '!editorReadonly && editorTextFocus'
});
}
Expand Down

0 comments on commit 02f4192

Please sign in to comment.