Predictive text implementation is terrible

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

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
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
csharp
Lĩnh vực
cli

Hướng nghiên cứu

Reproduce the behavior in PowerShell 7.6.2 with the supplied msys2_shell.cmd command and the step “Type something in powershell.” Locate the predictive-text implementation and its tests; done means suggestions are visually distinct and can be dismissed or partially accepted.

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

Mô tả

Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.
Exception report
D:\msys64\msys2_shell.cmd -ucrt64 -defterm -here -full-path -no-start
Screenshot

Predictive text can be a really useful feature but it's implementation here is terrible.

  1. Suggested text here is the exact same colour as what I've typed. It needs to be more distinguishable.
  2. There's no way (that I can fathom) to simply dismiss the suggestion
  3. There's no way (that I can fathom) to accept a subset of the suggestion, e.g. just the next word

There may be some obtuse way to configure these things, but I shouldn't have to do that, these are reasonable expectations out of the box.

Image
Environment data
7.6.2
Steps to reproduce

Type something in powershell

Expected behavior

useful predictive text that I can distinguish from typed text, and dismiss or partially accept

Actual behavior

confusing indistinguishable predictive text that I cannot dismiss or partially accept

Ngôn ngữ chính
C#
Star
4.4k
Fork
341
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở 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 PowerShell/PSReadLine

Tất cả issue của PowerShell/PSReadLine

Issue tương tự

Thêm issue về C#

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.