Docstring, JSDoc, and Javadoc completion - CodeWhisperer

CodeWhisperer's features are becoming a part of Amazon Q Developer. Learn more

Docstring, JSDoc, and Javadoc completion

Visual Studio Code

In this example using Javascript in VS Code, CodeWhisperer fills in JSDoc parameters based on existing constants.

An example of JSDoc completion feature.
AWS Toolkit for JetBrains

The following example is adapted from an example on the Oracle website.

In the image below, the user has entered a docstring. CodeWhisperer has suggested a function to complete the docstring.

alt_text
AWS Cloud9

The following example is adapted from an example on the Oracle website.

In the example below, in Java, the user enters a docstring. CodeWhisperer suggests a function to process the docstring.

An example of code completion based on a Javadoc.
SageMaker AI Studio

In this example using Python and SageMaker AI Studio, CodeWhisperer recommends a Docstring, based on the surrounding context.

An example of the Docstring feature.