[JetBrains] Change Input Focus to Chat Window After Action
Problem to Solve
When invoking a chat action via the menu action or keyboard shortcut, the input focus remains in the editor. However, the focus should switch to the chat window, as that's where the user's interaction is changing and where the focus should be.
Proposal
For all actions invoked via the menu or keyboard shortcut, change the input focus to the chat window.
Covers the currently supported actions: open chat window, refactor, test, and explain.
Original as reported by @elwyn-gitlab
Problem to solve
When opening the GitLab Duo chat window within RubyMine, the chat input is not focused automatically. Focus remains in my editor window.This means there is no way of quickly getting to the Duo chat input by keyboard shortcut.
I find myself highlighting a block of code, and wanting to quickly get to the chat input to type /refactor
or paste in the code and ask a question.
Proposed solution
Either automatically focus the Gitlab Duo chat input when opening the panel (and focus again when running the keyboard shortcut if the panel is already open), or add a dedicated keyboard shortcut for this.