Free AI code generator Amazon CodeWhisperer first experience

Author of the article: Langlixingzhou

Introduction

With the arrival of ChatGPT, many programmers can't help but panic. Although we cannot prevent the arrival of the AI ​​era, we can follow the footsteps of AI. Recently, I discovered CodeWhisperer, a magical AI code production tool. It is a machine learning-based service that uses natural language annotations and integrated development environments (IDEs). code in it, generating code suggestions to help improve developer productivity.

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!

Next, follow my steps to see how to use this VSCode plug-in.

Install and use

  1. Development tools: Visual Studio Code (VSCode)

  2. Open the tool extension installation (shortcut key: Ctrl + Shift + X), and then search for Amazon Cloud Technology or Amazon Toolkit, as shown in the figure below

image.png

  1. After the installation is complete, follow the steps below to log in. Let me tell you secretly that it is currently free to use.

  2. According to the operation in the pop-up window, copy => open the Amazon Cloud Technology website, paste the verification code => register an Amazon Cloud Technology account (special reminder, the password needs to be more than 3 characters) => then there will be a message to allow Amazon Cloud Technology to use your Used on VSCode

    After completing the appeal steps, click on the location below to start the AI ​​code generation path

image.png

  1. Wireless code association allows you to do whatever you want and greatly improves your paddling time. Without further ado, let’s talk about the code. Figure 1: Plug-in code association. Figure 2: Code produced after pressing the Tab key.

image.png

image.png

  1. With a simple business description and parameter definition, it can help you completely implement the logic. During the association process, the bottom status bar CodeWhisperer will rotate.

image.png

  1. Contextual association makes you want to stop.

image.png

Summarize

Compared with other GPT code tools, it is easy to use and has strong contextual association. At the same time, CodeWhisperer can also detect potential errors or problems in the code and send warnings to developers so that they can solve these problems as early as possible. The key point is that it is free, free, and important. Say things 3 times

Article source: Free AI code generator Amazon CodeWhisperer first experience

Guess you like

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