Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Suggestion: Extent interactive mode to enable user input

Đang mở
#3,641 0 bình luận 3 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
32/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Start by reading the CLI's interactive mode used with -wi2 and trace how it presents and handles correction choices. Determine how a user-entered correction should fit that interaction, then test the flow with a word such as procees. Done means users can enter a custom correction while retaining the existing skip and suggested-correction options.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

enhancement

I frequently use codespell with -wi2 to correct multiple typos in long files before committing them. Every now and then, however, codespell (understandably) fails to suggest the desired correction, in which case I'm forced to skip it and manually fix it, which adds quite a bit of of overhead to the process. It would be great if I could provide the desired word on the spot. My suggestion is that given N suggested corrections, codespell would provide an N+1-th option that would prompt the user for the word.

Real example: I typed procees, so codespell gives me the options to type 0 for process or nothing for doing nothing. What it should do is provide the additional option of 1 (or -1 or so), which would then allow me to type proceeds, which is what I actually meant to type.

Ngôn ngữ chính
Python
Star
2.4k
Fork
531
Merge trung bình
15 giờ 5 phút
Pull request đã merge (30 ngày)
18

Chuẩn bị môi trường

Mở trong Codespaces

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của codespell-project/codespell

Tất cả issue của codespell-project/codespell

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.