Article Catalog
GitHub Copilot is an AI programming tool from Microsoft and OpenAI, based on source code from GitHub and other sites, which can greatly improve the efficiency of writing code by automatically writing the code below for programmers based on the prompts above.
- Completing the code based on existing context
- Generate method body based on function name and parameters
- Automatic code generation based on comments
- Code Optimization
- Generate Test Code
I. GitHub Copilot Subscription Service
First you need a GitHub account, if you don’t have one refer toGitHub Apply for an Account
Enter the official website Click to apply. The first two months are free to try, the third month you start to pay, 10 per monthAnnual 100 100 per yearAnnual100; or a certain treasure to buy, very cheap, but there is a probability of banning, it is recommended to use a small number.
Once the purchase is complete, configure it as shown below and tap thesave
preservation
Second, Idea install Copilot plug-in
Idea
The version should be no less than2021.2
Otherwise, it’s not searchable.Copilot
Plug-ins.
After installing and rebooting, click the icon in the lower right corner and log in to theGitHub
ClickCopy and Open
The browser will automatically openCopilot
The activation page of the
Enter the copied device code and clickContinue
buttons
On the authorization page, clickAuthorize GitHub Copilot
Successful activation is achieved.