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.
Also provides reference code tracking, which provides additional suggested data when generating code similar to the training data
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
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
Install the aws toolkit
Registration and certification can be used
Click start, and a pop-up window will pop up, copy and open the link, and register by email.
start using
Taking windows as an example, alt+c
it is to generate code and tab
receive 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.
Use tab
to receive
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
The world's largest open source alternative to ChatGPT is here!
Wu Enda replied to Musk: The car has not been invented yet, what seat belt do you need?
··································
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.