Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Docstring, JSDoc, and Javadoc completion

Focus mode
Docstring, JSDoc, and Javadoc completion - CodeWhisperer

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

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

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.

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

An example of JSDoc completion feature.
PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.