Dernière version du 15 avril 2024 à 12:30
Links
Shortcuts
Shortcut |
Description
|
Tab |
accept the suggestion
|
Alt + . |
display the next suggestion
|
Alt + , |
display the previous suggestion
|
Esc |
reject the suggestion
|
|
// describe something you want to do using natural language within a comment, and GitHub Copilot will suggest the code to accomplish your goal
|
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