# CodeWhisperer (Amazon)

{% embed url="https://aws.amazon.com/codewhisperer/" %}

Amazon CodeWhisperer is a machine learning powered service that helps improve developer productivity by generating code recommendations based on developers' comments in natural language and their code in the IDE.&#x20;

It is available for the Java, JavaScript, Python, C# and TypeScript programming languages and also supports code generation for Ruby, Go, PHP, C++, C, Shell, Scala, Rust, Kotlin and SQL.

To use CodeWhisperer in Cloud9, you need to:

1. Enable CodeWhisperer in your Cloud9 environment.
2. Start typing your code in the Cloud9 editor.
3. As you type, CodeWhisperer will generate code recommendations in the editor.
4. You can accept or reject the recommendations.

Here are the steps on how to enable CodeWhisperer in Cloud9:

1. Open your Cloud9 environment.
2. Click the AWS logo in the left pane of the editor.
3. In the Developer tools section, click the CodeWhisperer dropdown.
4. Select Enable CodeWhisperer.

Once you have enabled CodeWhisperer, you can start using it by typing your code in the editor. As you type, CodeWhisperer will generate code recommendations in the editor. You can accept or reject the recommendations.

Here are some examples of code recommendations that CodeWhisperer can generate:

* Code completion: CodeWhisperer can suggest code completions for the code you are typing.
* Function signatures: CodeWhisperer can suggest function signatures for the functions you are calling.
* Variable names: CodeWhisperer can suggest variable names for the variables you are declaring.
* Comments: CodeWhisperer can suggest comments for the code you are writing.

CodeWhisperer can be a helpful tool for improving your coding productivity. It can help you to write code more quickly and accurately. If you are using Cloud9, I recommend that you enable CodeWhisperer and give it a try.
