Skip to content

[VS Code] Insert code snippet in editor from quick chat

User problem to solve

When I'm working on my code and using Duo Quick Chat for assistance, I want to easily insert recommended code blocks from Duo's response directly into my working file, so that I can quickly implement suggested changes without manual copying and pasting, saving time and reducing errors.

Proposal

  1. Add an Insert button to each code block from Duo Chat
  2. Clicking Insert copies and pastes and contents of the code block at the user's cursor in the working file.
Edited by Dasha Adushkina