« Github Copilot » : différence entre les versions

De Banane Atomic
Aller à la navigationAller à la recherche
Ligne 4 : Ligne 4 :


= [https://docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment?tool=visualstudio#using-default-keyboard-shortcuts Shortcuts] =
= [https://docs.github.com/en/copilot/configuring-github-copilot/configuring-github-copilot-in-your-environment?tool=visualstudio#using-default-keyboard-shortcuts Shortcuts] =
{| class="wikitable wtp wtmono1"
! Shortcut !! Description
|-
| Tab || accept the suggestion
|-
| Alt + . || display the next suggestion
|-
| Alt + , || display the previous suggestion
|-
| Esc || reject the suggestion
|}
{| class="wikitable wtp wtmono2"  
{| class="wikitable wtp wtmono2"  
! Action
! Action

Version du 15 avril 2024 à 12:26

Links

Shortcuts

Shortcut Description
Tab accept the suggestion
Alt + . display the next suggestion
Alt + , display the previous suggestion
Esc reject the suggestion
Action Shortcut Command name
Show next inline suggestion Alt + . Edit.NextSuggestion
Show previous inline suggestion Alt + , Edit.PreviousSuggestion
Trigger inline suggestion Ctrl + Alt + \ Edit.Copilot.TriggerInlineSuggestion

GitHub Copilot Chat

View → GitHub Copilot Chat

Command Description
# Active document focus on the code that's currently visible in the editor
# Selection focus on the selected code
# focus on a specific file

Installation in Visual Studio

  • GitHub Copilot extension
  • GitHub Copilot Chat extension