Developing code features
The Amazon Q Developer Agent assists in developing code features or making changes to projects within your IDE. By describing the feature you want to create, Amazon Q uses the context of your current project to generate an implementation plan and the necessary code. It supports building AWS projects or your own applications.
To begin, open a new or existing project in your IDE. Amazon Q uses all files in your workspace root for context. Enter /dev
in the AMAZON Q: CHAT panel to open a new Chat tab, where you can interact with Amazon Q to generate an implementation plan and new code for your feature. The best way to understand this would be with an example.
In our previous section, we transformed the Java-8-based project into Java 17 code. Now, let’s assume that the organization has decided that it will be a good time to add some new functionality to the project along with the upgrade rollout. To get this done, you can follow the old-fashioned full...