CommandCodeAI / CommandCodeAI/command-code
/add-dir should support passing a directory argument directly, and fix pasted paths being modified in the input box
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 4k
- Forks
- 350
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Expected Behavior
I expect the /add-dir command to support passing a directory path directly, for example:
/add-dir "/Users/david/Projects/caonima"
When a directory argument is provided, Command Code should add that directory directly, instead of always need to opening the interactive add-dir UI
In addition, in the existing add-dir UI, the input box should accept pasted directory paths as-is, without adding any extra characters before or after the pasted text.
Actual Behavior
Right now, /add-dir does not respect a directory argument.
When I paste a directory path into the add-dir input box, the pasted text gets modified: some extra characters (e.g. something like ~200 or similar) are added to the beginning and the end of the path.
Command Code Version
0.25.7
Operating System
macOS
Terminal/IDE
WarpTerminal
Shell
zsh
Additional context
No response
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne beim Einstiegspunkt des Befehls /add-dir und der bestehenden Eingabe-UI für add-dir. Prüfe, wie Befehlsargumente behandelt werden und wie eingefügte Pfade verarbeitet werden. Als abgeschlossen gilt, dass ein angegebenes Verzeichnis direkt hinzugefügt wird, während eingefügte Pfade im Eingabefeld unverändert bleiben.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 50/100