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

Abierto
#2,716 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
69/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
typescript, vscode

Línea de trabajo

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.

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

Descripción

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)

Lenguaje dominante
TypeScript
Estrellas
2k
Forks
301
Merge medio
3 d 14 h
PR fusionados (30 d)
103

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Zoo-Code-Org/Zoo-Code

Todos los issues de Zoo-Code-Org/Zoo-Code

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.