[IDE] Revisit Duo context menu for IDE
Latest
Watch the 5 min status update or try the prototype
Problem to solve
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 frequent workflow so even small improvements will have good ROI for developer productivity and UX.
Example of current state
Current Example (May 2025) | |
---|---|
|
current_vscode_duochat |
Design Proposal
Note
A working prototype is available for user testing and to demo keyboard interactions. It's not a final spec and uses the older IDE-first styling. The North Star designs should take priority. More details in the prototyping repo.
There's multiple teams working on Duo right now so proposed changes have been scoped and organized by risk factor and need for alignment.
High UX ROI
Change | Example | Issue |
---|---|---|
Ability to:
|
Screen_Recording_2025-05-22_at_4.51.37_PM | gitlab-org/gitlab#544992 |
Change:
|
![]() |
gitlab-org/gitlab#545188 |
Change:
|
![]() |
gitlab-org/gitlab#546312 (closed) |
Ability to:
|
![]() |
gitlab-org/gitlab#546092 |
Change:
|
![]() |
gitlab-org/gitlab#546306 |
Moderate UX ROI
Change | Example | Issue |
---|---|---|
Ability to:
|
![]() |
gitlab-org/gitlab#546248 |
Change:
|
![]() |
gitlab-org/gitlab#546255 |
Misc. UI changes:
|
![]() |
gitlab-org/gitlab#546263 |
Change:
|
![]() |
gitlab-org/gitlab#546266 (closed) |
Change:
|
![]() |
gitlab-org/gitlab#546289 |
Ability to add a context source by drag and dropping a file from the file tree | TBD |
Needs more investigation:
- Using other symbols to shortcut adding context sources (e.g.
#
,$
)
Feedback
Open questions
- What new context sources will get added?
Useful links
- IDE First Duo Chat (initial concept)
- Prototype
- Agentic Chat planning