[VS Code] Terminal Assistance with Duo Chat
User problem to solve
As a developer seeking quick solutions, I want to be able to ask Duo Chat questions about my terminal output and get immediate help without leaving my workflow.
Job Story
When I encounter a confusing error message in my terminal, I want to be able to quickly share it with Duo Chat and receive a clear explanation or potential solution so that I can unblock myself and continue coding efficiently.
Why is this important?
- Immediate, context-aware assistance. Users receive immediate, context-aware aid in their workflow, saving time and reducing frustration.
- Always-available resource. Duo Chat can remain an always-available resource that explains concepts and provides guidance.
- Enhanced user experience. Integrating Duo Chat into the terminal can significantly improve the dev experience by providing a seamless and intuitive way to access help.
Proposal
- User selects terminal output/snippet
- On right click, has menu option to
Explain this output
- On the back-end we make sure that we strip the first part of the response that starts with "This is not actually code..."
Open Questions:
- Since this is in the terminal, are there security considerations we need to consider?
- Today, users can copy/paste their output into Duo Chat and ask questions specific to the terminal. See example here.
Edited by Dasha Adushkina