Using Amazon Q Developer for Docstring, JSDoc, and Javadoc completion - Amazon Q Developer

Using Amazon Q Developer for Docstring, JSDoc, and Javadoc completion

Amazon Q can help you generate or complete documentation inside your code.

C++
An example of the docstring completion feature using C++.
Javascript

In this example, Amazon Q fills in JSDoc parameters based on existing constants.

An example of JSDoc completion feature.
C#

In this example, Amazon Q fills in JSDoc parameters based on existing constants.

An example of C3 with DocString completion.
Java

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

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

suggesting a function to complete a docstring

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

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

An example of code completion based on a Javadoc.
Python

In this example, Amazon Q recommends a Docstring, based on the surrounding context.

An example of the Docstring feature.