This shows you the differences between two versions of the page.
| copilot [2024/03/14 05:05] – created - external edit 127.0.0.1 | copilot [2025/09/01 07:39] (current) – zhangyk | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| Just click some buttons. | Just click some buttons. | ||
| - | # 2. Application for GitHub Copilot (Polished by ChatGPT3.5) | + | # 2. Installation |
| - | + | ||
| - | ## 2.1. Add Tsinghua Mail Address to Your GitHub Account | + | |
| - | Navigate to [Email Settings](https:// | + | |
| - | + | ||
| - | - The primary email address can be of your choice. | + | |
| - | - The email used for Copilot application (education benefit) should be `example@mail.tsinghua.edu.cn`. | + | |
| - | + | ||
| - | ## 2.2. Apply for Education Benefit | + | |
| - | Visit [GitHub Education](https:// | + | |
| - | + | ||
| - | - **Important: | + | |
| - | - Allow three to four days for processing. | + | |
| - | - Wait for the confirmation email before proceeding to the next step. | + | |
| - | + | ||
| - | ## 2.3. Apply for GitHub Copilot | + | |
| - | Access the Copilot settings [here](https:// | + | |
| - | + | ||
| - | - Follow the on-screen instructions and click the necessary buttons. | + | |
| - | + | ||
| - | # 3. Installation | + | |
| Install extension `Github Copilot` in vscode and login your github account. (The extension `Github Copilot Chat` will be installed automatically.) | Install extension `Github Copilot` in vscode and login your github account. (The extension `Github Copilot Chat` will be installed automatically.) | ||
| - | # 4. Usage | + | # 3. Usage |
| - | ## 4.1. Some hotkeys | + | ## 3.1. Some hotkeys |
| - | ### 4.1.1. To accept / reject suggestions | + | ### 3.1.1. To accept / reject suggestions |
| `Tab` to accept | `Tab` to accept | ||
| `Esc` to reject | `Esc` to reject | ||
| - | ### 4.1.2. Seeing alternative suggestions | + | ### 3.1.2. Seeing alternative suggestions |
| `Alt + ]` to see next suggestion. | `Alt + ]` to see next suggestion. | ||
| `Alt + [` to see previous suggestion. | `Alt + [` to see previous suggestion. | ||
| - | ### 4.1.3. Seeing multiple suggestions | + | ### 3.1.3. Seeing multiple suggestions |
| `Ctrl + Enter` to open a new tab with multiple options. | `Ctrl + Enter` to open a new tab with multiple options. | ||
| - | ## 4.2. Generating suggestions from comments | + | ## 3.2. Generating suggestions from comments |
| Write the comments, then it will suggest an implementation of the function. | Write the comments, then it will suggest an implementation of the function. | ||
| - | ## 4.3. Enabling or disabling | + | ## 3.3. Enabling or disabling |
| Click the status icon in the bottom panel. | Click the status icon in the bottom panel. | ||
| </ | </ | ||