github / github/copilot-cli

Using tab during file autocomplete adds space

Cerrado Apto para principiantes
#2,429 0 comentarios 1 reacción 0 asignados Ver en GitHub
area:input-keyboard
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### Describe the bug

Using tab during file autocomplete via '@' adds the selected file/folder along with a space at the end. The space at the end causes to exit out of the autocomplete view, making the user to backspace to continue autocomplete. This makes tab and enter virtually the same, which is not ideal.

### Affected version

1.0.14

### Steps to reproduce the behavior

1. start copilot
2. enter @
3. select a folder
4. hit tab

### Expected behavior

tab should enter the selected folder, without the space at the end. should not exit out of autocomplete view

### Additional context

_No response_

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reproducing the issue in Copilot CLI using the listed steps: enter @, select a folder, and press Tab. Read the file-autocomplete handling and verify how Tab inserts the selected path. Done means Tab enters the selected folder without a trailing space and keeps autocomplete open, while Enter retains its separate behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
shell
Área
cli
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Tranquilo
Claridad
Bien especificado
Aptitud para principiantes
65/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.