github / github/copilot-cli

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

Ouverte
#3,410 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
area:input-keyboard
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### 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_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell, vscode
Domaine
cli, desktop, developer-experience
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.