[BUG] Drag and drop from the VS Code Explorer does not add files or folders as context

Aberta
#2,716 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 3 dias

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
69/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
typescript, vscode

Direção de pesquisa

Start by tracing how the chat input handles drag-and-drop events from the VS Code Explorer, then compare that path with the related fix in PR #2184. Reproduce the reported cases with a file and a folder, both with and without Shift. Done means each drop adds the selected item as chat context.

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

Descrição

bug
Problem (one or two sentences)

Dragging a file or folder from the VS Code Explorer into the chat input does not add it as context. The chat input stays empty. This happens with and without the Shift key.

Context (who is affected and when)

Users who drag files from the Explorer into the chat input are affected. The Zoo Code docs tell users to hold Shift while they drag files into the chat window. v3.94.0 fixed a related bug (#2139, PR #2184), and drops worked without Shift. The bug appears again in v3.98.2 on VS Code 1.144.1, macOS Tahoe (Apple Silicon). The workspace is local.

Reproduction steps
  1. Open the Zoo Code panel in the Secondary Sidebar. Keep the Explorer visible.
  2. Drag one file from the VS Code Explorer into the chat input.
  3. Release the mouse button over the chat input. Do not hold Shift.
  4. Look at the chat input.
  5. Repeat the drag and hold Shift during the drop.
  6. Repeat both drops with a folder.
Expected result

The file or folder appears in the chat input as context.

Actual result

The chat input does not change. No file or folder is added. No message or error appears.

Variations tried (optional)

Tried with Shift and without Shift. Tried a file and a folder. Tried drops from the VS Code Explorer only. The workspace is local, not remote.

App Version

v3.98.2 (latest release, 2026-11-23)

API Provider (optional)

None

Model Used (optional)

N/A

Zoo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Linguagem predominante
TypeScript
Estrelas
2k
Forks
301
Merge médio
3d 14h
PRs com merge (30d)
103

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Zoo-Code-Org/Zoo-Code

Todas as issues de Zoo-Code-Org/Zoo-Code

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

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