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

Ouverte
#2,716 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 3 jours

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
69/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
typescript, vscode

Piste de recherche

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.

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

Description

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)

Langage dominant
TypeScript
Étoiles
2k
Forks
301
Merge moyen
3 j 14 h
PR mergées (30 j)
103

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de Zoo-Code-Org/Zoo-Code

Toutes les issues de Zoo-Code-Org/Zoo-Code

Issues similaires

Plus d'issues TypeScript

Recevez les nouvelles issues par e-mail

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