Make dismissing copilot on escape optional
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
I keep accidentally dismissing copilot suggestions whenever I leave insert-mode. See also https://github.com/microsoft/vscode/issues/278044.
Describe the solution you'd like
I would like an option to not automatically dismiss copilot when I leave insert-mode. And/or the ability to use different keybindings for dismissing copilot and entering normal-mode.
Describe alternatives you've considered
We could also not dismiss copilot when leaving insert-mode, but only dismiss it when we are already in normal-mode. That would in my opinion be a way more sensible default.
Additional context
The fix in #9624 hard-coded vimEscape to always dismiss copilot suggestions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the change in #9624 where vimEscape was hard-coded to dismiss Copilot suggestions. Trace how leaving insert mode and the relevant keybindings are handled, then clarify whether the option should prevent dismissal, add separate bindings, or change dismissal timing. Done means the selected behavior is configurable and covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100