Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Using Amazon Q Developer for Docstring, JSDoc, and Javadoc completion
Amazon Q can help you generate or complete documentation inside your code.
- C++
-
- Javascript
-
In this example, Amazon Q fills in JSDoc parameters based on
existing constants.
- C#
-
In this example, Amazon Q fills in JSDoc parameters based on
existing constants.
- Java
-
The following example is adapted from an example
on the Oracle website.
In the image below, the user has started entering a docstring. Amazon Q has suggested words to add to the 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.
- Python
-
In this example, Amazon Q recommends a Docstring, based on the surrounding context.