github / github/copilot-cli

Copilot in integrated VS Code Terminal shifts cursor into a file and out of terminal

未关闭
#3,410 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:input-keyboard
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### Describe the bug

Sometimes, when user is working out of the terminal with copilot CLI, the active cursor will jump to a file that copilot is working on.

This is disruptive because when it is time to type out the next prompt, the prompt will be entered into the `.md` file by default.

This is hinders the user from experiencing a seamless flow. And does not occur when working with Claude Code

### Affected version

_No response_

### Steps to reproduce the behavior

1. Type prompt into Copilot that results in code change in VS Code integrated terminal

### Expected behavior

Cursor does not leave active window within VS Code

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

Start by reproducing the focus change in the VS Code integrated terminal with Copilot CLI using a prompt that causes a code change. Trace how the CLI or its VS Code terminal integration handles the active window and cursor, then verify that after the change the next prompt remains in the terminal rather than entering the edited file.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell, vscode
领域
cli, desktop, developer-experience
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。