CommandCodeAI / CommandCodeAI/command-code
/add-dir should support passing a directory argument directly, and fix pasted paths being modified in the input box
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 /add-dir 命令入口點和現有的 add-dir 輸入 UI 開始。檢查命令參數的處理方式,以及貼上路徑的處理方式。完成的標準是:提供的目錄會直接新增,而貼上的路徑在輸入框中保持不變。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 50/100