Use of AI programming assistant Amazon CodeWhisperer (continuously updated)

Article author: Tianbo

ChatGPT has been very popular recently. I tried out some official account functions and connected myself to chatGPT. My ability to write short essays is first-rate, but my accuracy is very low. I have been searching for a very smooth AI programming tool that can be used in ideas. Not long ago I saw Amazon CodeWhisperer recommended by infoq. I have been trying it for the past week and it feels great, so I highly recommend it.

The Amazon Cloud Technology Developer Community provides developers with global development technology resources. There are technical documents, development cases, technical columns, training videos, activities and competitions, etc. Help Chinese developers connect with the world's most cutting-edge technologies, ideas, and projects, and recommend outstanding Chinese developers or technologies to the global cloud community. If you haven't followed/collected it yet, please don't rush through it when you see it. Click here to make it your technical treasure trove!

Due to working hours, I will only share the idea installation today. I will continue to add more when I have time.

As a Java developer, writing code is based on the idea, so I only describe the usage process on the idea. Of course, during the test usage phase, a new test maven project must be opened (so as not to affect the working code and leaks, etc., after getting familiar with it, You can switch to the work project again)

The first step is to search for CodeWhisperer in the settings plug-in of the idea. After the download is complete, click Apply.

image.png

In the second step, on the right side of the project, Amazon Toolkit will appear (if not, click the three dots)

image.png

The third step is, under codeWhisperer in develop Tools, there is a Start function. After clicking, there will be a CodeWhisperer: Add Connection to Amazon pop-up window.

image.png

image.png

The fourth step is to click connect (remember to remember the above code, it will be used later. If you forget it, you may be easily misled into downloading the two-step verification code tool, which will go far away)

The fifth step, click Next, a web page will pop up. At this time, the code in the fourth step is used.

image.png

Step 6: After entering the code, you will be prompted to log in. For example, if you log in via email, a verification code will be sent to your email. After the login is completed, you will be reminded to return to the idea.

image.png

Step 7: Return to the idea. At this time, you can use it.

You must be careful in this step of installation, because you will jump to other pages and take many detours. For example, if you are careless, you may go to github to download the aws-sam-cli-macos-arm64.pkg installation package.

Source of article: Use of AI programming assistant Amazon CodeWhisperer (continuously updated)

Guess you like

Origin blog.csdn.net/u012365585/article/details/132766561