Search code examples
githubvisual-studio-codekeyboard-shortcutsgithub-copilot

Get github copilot suggestions only when requested


Is there any GH Copilot configuration setting for getting suggestions only when I request them? Like a shortcut or something like that... I haven't found any similar in it's documentation


Solution

  • You can disable inline suggestions with the github.copilot.inlineSuggest.enable setting, or with the Trigger Inline Suggesion hotkey (Alt + \ on Win/Linux, + \ on Mac).

    To ask for a suggesion, use Open GitHub Copilot (additional suggestions in separate pane) hotkey (Ctrl + Enter on Win/Linux, Ctrl + Return on Mac).