As a developer, the constant task of writing code can become tiresome. To alleviate this, having a personal assistant that aids in writing code more efficiently becomes essential. This is where AI-based coding tools like GitHub Copilot and Amazon CodeWhisperer come into play.
GitHub Copilot is an excellent tool, but it comes with a paid subscription. On the other hand, its alternative, Amazon CodeWhisperer, offers two tiers: "Individual tier" and "Professional tier," with the "Individual tier" being free.
Today, we'll walk through the steps of installing the free version of Amazon CodeWhisperer in PhpStorm. Here are the steps:
Step 1:
In PhpStorm, click on the top-left menu PhpStorm, and then select Settings.
Step 2:
Choose the Marketplace in the Plugins section.
Step 3:
Search for AWS Toolkit and click Install.
After successful installation, restart the IDE when prompted.
Step 4:
After restarting, click on the AWS icon in the top-left panel, navigate to Developer Tools, and double-click Start.
A window will appear; select the first option and click the Connect button.
Step 5:
In the window, a code will be displayed. Click on Proceed to Browser.
A new window should open in a browser. Confirm that it's displaying the same code as shown in the previous window and then click Confirm and Continue.
You'll be prompted to create an AWS Builder Account.
Follow the steps to create your account. Once the account is successfully created, you'll be asked to allow AWS Toolkit for JetBrains to access your data. Click Allow.
Upon success, you'll see the following message:
Step 6:
Back in PhpStorm, you'll see a message asking you to stay connected to CodeWhisperer. Click Yes.
You can confirm CodeWhisperer status by clicking on the AWS icon, then Developer Tools, and you should see the following message:
References:
Top comments (0)