github / github/copilot-cli

Using tab during file autocomplete adds space

Fechada Para iniciantes
#2,429 0 comentários 1 reação 0 responsáveis Ver no GitHub
area:input-keyboard
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

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

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell
Domínio
cli
Tipo de issue
Bug
Dificuldade
2/5
Tempo estimado
1-3 horas
Status de atividade
Pouca atividade
Clareza
Claramente especificada
Facilidade para iniciantes
65/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.