1. 注册github账号

 https://github.com/

2. 通过法术激活github的学生包

激活后如下:

 

 

3. github激活Copilot

3.1 点击enable github copilot

 

3.2 点击Get access to Github Copilot

3.3 选择Allow并点击Save and get started

激活后

 4. Visual Studio Code安装插件GitHub Copilot

VS Code会有提示是否需要认证github账号

 

 

参考:

https://docs.github.com/zh/copilot/quickstart