Announcing IDE workspace context awareness in Q Developer chat

Posted on: Jul 11, 2024

Today, AWS announces IDE workspace context awareness in Amazon Q Developer chat. Users can now add @workspace to their chat message to Amazon Q Developer to ask questions about the code in the project they currently have open in the integrated development environment (IDE). Developers can ask questions like “@workspace what does this codebase do?” or “how does this @workspace implement authentication and authorization?”.

Previously, Amazon Q Developer chat in the IDE could only answer questions about your currently opened code file. Now, Q Developer automatically ingests and indexes all code files, configurations, and project structure, giving the chat comprehensive context across your entire application within the IDE. The index is stored locally and is created the first time you mention @workspace.

To get started, make sure you are using the most up-to-date version of the Amazon Q Developer IDE extension, open the Q chat in your IDE, and just ask a question that includes @workspace.