AI Writing Code GitHub Copilot + Idea Installation and Usage Tutorials

Time:2024-2-23


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.

AI Writing Code GitHub Copilot + Idea Installation and Usage Tutorials

Once the purchase is complete, configure it as shown below and tap thesavepreservation

AI Writing Code GitHub Copilot + Idea Installation and Usage Tutorials

Second, Idea install Copilot plug-in

IdeaThe version should be no less than2021.2Otherwise, it’s not searchable.CopilotPlug-ins.

AI Writing Code GitHub Copilot + Idea Installation and Usage Tutorials

After installing and rebooting, click the icon in the lower right corner and log in to theGitHubClickCopy and OpenThe browser will automatically openCopilotThe activation page of the

AI Writing Code GitHub Copilot + Idea Installation and Usage Tutorials

Enter the copied device code and clickContinuebuttons

AI Writing Code GitHub Copilot + Idea Installation and Usage Tutorials

On the authorization page, clickAuthorize GitHub CopilotSuccessful activation is achieved.

AI Writing Code GitHub Copilot + Idea Installation and Usage Tutorials

III. Plug-in use

Usage

IV. Reference documents

official document

Recommended Today

Installation and Configuration of Nextcloud on Ubuntu Server – Build Nextcloud Private Cloud Disk with Public Remote Access

Article Catalog summaries1. Environment setup2. Testing of local area network access3. Intranet penetration3.1 ubuntu local installation of cpolar3.2 Creating tunnels3.3 Testing public network access 4 Configure a fixed http public address4.1 Reservation of a second-level subdomain4.1 Configuring fixed second-level subdomains4.3 Testing access to fixed second-level subdomains on the public network summaries Nextcloud, which is an […]