Heavy! Amazon released a personal free AI programming assistant: CodeWhisperer!

182431ec0be92b166739ce015958deb9.png

Source: https://juejin.cn/post/7223746457941508157

Amazon CodeWhisperer, a real-time AI programming assistant, is now officially available, including the CodeWhisperer personal package, which is free for all developers. Originally launched in preview last year, CodeWhisperer keeps developers focused and productive, helping them write code quickly and safely without interrupting the flow by leaving the IDE to work on something. Developers can increase productivity and simplify their work by using CodeWhisperer within their favorite IDEs, including Visual Studio Code, IntelliJ IDEA, and more, when creating code for complex and ever-changing environments. When creating code for routine tasks or time-consuming, undifferentiated tasks, using unfamiliar APIs or SDKs, using AWS APIs correctly and efficiently, and other common coding scenarios (such as reading and writing files, image processing, writing unit tests, etc.), CodeWhisperer can help.

1a73091852ed3dd637c879b55cf9ba9b.png

Generate code from comments in CodeWhisperer

Also provides reference code tracking, which provides additional suggested data when generating code similar to the training data

eacfd419033ec638ae6c37d85301a518.png

Reference Tracking in CodeWhisperer

CodeWhisperer is also the only AI coding assistant with a security scanning feature that finds hard-to-detect vulnerabilities and recommends fixes, scans generated code and code written by developers, looking for vulnerabilities

180c640f7c38abb673a901784a39b976.png

Scan for vulnerabilities in CodeWhisperer

Currently, all developers can use Amazon CodeWhisperer to write Python, Java, JavaScript, TypeScript, C#, Go, Rust, PHP, Ruby, Kotlin, C, C++, Shell scripts, SQL and Scala code, just need to register by email .

Instructions

register

  • First choose the IDE, which supports vs code and jetbrains, here we take vscode as an example

6fd61744fc4f0accdb4e2622ca627eb6.jpeg

  • Install the aws toolkit

e29e564925eb320b8edd1d1523d0eeaa.jpeg

  • Registration and certification can be used

a97a3d141e578c41b54684fe7b84b25e.jpeg

Click start, and a pop-up window will pop up, copy and open the link, and register by email.

222060c42a5d5b2a37c5bb923c0d853c.jpegcb40da6d9a7dec891918e572d896c1ce.jpeg

4331c39b8e63c496fdfc70881ac542ae.jpeg

ae2c82c2c4e49aba4f9cd39dfe79cc83.jpeg

start using

06c47ca85e5afaba1decf6c5b6a68c06.jpeg

Taking windows as an example, alt+cit is to generate code and tabreceive the generated code, and the left and right arrows are the candidates generated before and after selection. Here we take quicksort as an example. When you enter def quicksort()and then enter alt+c, the following code will be generated. You can see that it is a code written based on recursion.

1806c43d05708ae734cac22907c1394b.jpeg

Use tabto receive

54ae12eeeb129625625fa83427b220e2.jpeg

reference

  • aws.amazon.com/cn/blogs/ch…

  • docs.aws.amazon.com/codewhisper…

------

We have created a high-quality technical exchange group. When you are with excellent people, you will become excellent yourself. Hurry up and click to join the group and enjoy the joy of growing together. In addition, if you want to change jobs recently, I spent 2 weeks a year ago collecting a wave of face-to-face experience from big factories. If you plan to change jobs after the festival, you can click here to claim it !

recommended reading

··································

Hello, I am DD, a programmer. I have been developing a veteran driver for 10 years, MVP of Alibaba Cloud, TVP of Tencent Cloud. From general development to architect to partner. Along the way, my deepest feeling is that we must keep learning and pay attention to the frontier. As long as you can persevere, think more, complain less, and work hard, it will be easy to overtake on curves! So don't ask me if it's too late to do what I do now. If you are optimistic about something, you must persevere to see hope, not to persevere only when you see hope. Believe me, as long as you stick to it, you will be better than now! If you have no direction yet, you can follow me first, and I will often share some cutting-edge information here to help you accumulate capital for cornering and overtaking.

Guess you like

Origin blog.csdn.net/j3T9Z7H/article/details/130278557