[IDE] Revisit Duo context menu for IDE
The Problem
The current context menu has a few friction points such as requiring typing /include
to open the menu and not supporting inline tokens while typing a prompt. There's also several quality of life opportunities around keyboard workflows and the default menu list.
For Who
Code Author job performer
Job performer | Code author |
---|---|
Main job | Develop improvements for my application (e.g., performance, reliability, security, user experience) |
Outcome | Minimize the time it takes to generate or complete code using AI assistance |
Methods | Provide shortcuts for common actions |
Where
Duo Chat in the IDE. This won't be used in Duo Chat for web.
Why
Selecting context is a frequently repeated workflow so even small improvements will have good ROI for developer productivity and UX.
Current Example | |
---|---|
|
current_vscode_duochat |
Design Proposal
There's multiple instances of roadmap work across teams that could impact the original direction for revising the context menu. To minimize redundant work changes are marked by risk factor.
Low risk, do now
Change | Example | Issue |
---|---|---|
Ability to:
|
Screen_Recording_2025-05-22_at_4.51.37_PM | gitlab#544992 |
Change:
|
gitlab#545188 | |
Change:
|
![]() |
|
Ability to:
|
![]() |
|
Change:
|
![]() |
|
Ability to:
|
Some risk, needs alignment
Higher risk, wait
Change | Example |
---|---|
Needs more investigation:
- Using other symbols to shortcut adding context sources (e.g.
#
,$
)
Open questions
- What new context sources will get added?
Useful links
- IDE First Duo Chat (initial concept)
- Prototype (first iteration)
Edited by Taylor Vanderhelm