Feature Request: Slash Command `cwd` supports '/' to show matching directories in Windows
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### Describe the feature or problem you'd like to solve
_No response_
### Proposed solution
When Copilot-CLI executes the slash command `cwd`, it lists all matching directories below, but only supports backslashes ('\').
In Windows CLI environments, changing the working directory usually involves commands like `cd ..\..`, but typing backslashes ('\') is always more cumbersome than forward slashes ('/') (because the right hand needs to move further).
So Powershell and cmd support forward slashes ('/') instead of backslashes ('\').
It would be great if Copilot-CLI could also support this.
### Example prompts or workflows
_No response_
### Additional context
GitHub Copilot-CLI: v0.0.389
OS: Windows 11 25H2
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xác định entry point của slash-command `cwd` và hành vi khớp thư mục trên Windows, sau đó kiểm tra cách input chứa dấu gạch chéo ngược được xử lý. Xác minh thay đổi bằng một quy trình CLI trên Windows trong đó `cwd` chấp nhận `/` và liệt kê các thư mục khớp, đồng thời giữ nguyên hành vi hiện có với dấu gạch chéo ngược.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- powershell, shell
- Lĩnh vực
- cli
- Loại issue
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100