[FEATURE] Multi-line editing in prompt area
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Vì issue không nêu tệp, bài kiểm thử hoặc entry point nào, trước tiên hãy xác định phần triển khai của prompt-area và xem xét cách input, văn bản nhiều dòng được dán vào và các keybinding hiện đang hoạt động. So sánh các phương án buffer và Shift-Enter được đề xuất, sau đó xác định hành vi chỉnh sửa và gửi để hoàn thiện tính năng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Feature Description
When entering a longish prompt, I would like to be able to split the instructions visually over multiple lines.
Use Case
I believe this will make it easier to work with longer prompts. Example:
Please introduce feature foo. Do this by:
1. meeting requirement bar
2. meeting requirement baz
Is for me easier to read than:
Please introduce feature foo. Do this by: 1. meeting requirement bar 2. meeting requirement baz.
Proposed Solution
I'm not sure how the prompt area is implemented under the hood, but I could image this either being a buffer that allows multiple lines to be entered (which would also allow more complex editing to be done slightly easier), or I could image that a keybind is introduced (e.g. shift enter) that causes a line break and then the possibility to continue to edit on the next line.
Alternatives Considered
When copying pasting into the windows, multi line input is supported / can be pasted into the prompt area in the claude code terminal window in neovim, so a potential alternative is to construct prompts outside of the claude code buffer and then past them into the prompt area. This is clunky though, and for longer prompts can lead to the prompt showing that n lines have been pasted, but not showing all these lines (which is useful by itself, but makes this a less desirable alternative solution for me)
- Ngôn ngữ chính
- Lua
- Star
- 3.1k
- Fork
- 220
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của coder/claudecode.nvim
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
coder/claudecode.nvim#321 ·
-
[BUG] ClaudeCodeAdd fails on paths with spacesCó thể đã có người làm @7A1T đã nhận 53 ngày trước. Đang mởbug needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
coder/claudecode.nvim#314 ·
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
coder/claudecode.nvim#313 ·
-
Is this plugin abondonned?Đang mởneeds-triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
coder/claudecode.nvim#319 · 6 reaction ·
-
[BUG] 框选文本一直抱错误信息Có thể đã có người làm @DukeLog đã nhận 42 ngày trước. Đang mởbug needs-triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
coder/claudecode.nvim#316 · 1 bình luận ·
Tất cả issue của coder/claudecode.nvim
Issue tương tự
-
bug good first issue ready ticket
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Domktorymysli/vclu#20 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
InauguralSystems/EigenLua#60 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
bradcypert/plum#265 ·
Maintainer thường phản hồi trong vòng 1 ngày