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

Offen
#2,716 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 3 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
69/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
typescript, vscode

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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)

Vorherrschende Sprache
TypeScript
Sterne
2k
Forks
301
Ø Merge
3 T. 14 Std.
Gemergte PRs (30 T.)
103

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Zoo-Code-Org/Zoo-Code

Alle Issues in Zoo-Code-Org/Zoo-Code

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.