Expose the number of items shown in command completion list (ListViewMaxHeight) as a $PS variable to make it changable from UI.

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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/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ệ
csharp, powershell
Lĩnh vực
cli

Hướng nghiên cứu

Start in Prediction.Views.cs at ListViewMaxHeight and the nearby HistoryMaxCount constant. Trace how PSReadLine variables are exposed and how the command completion list reads these values. Done means both limits can be changed through the $PSReadLine UI without breaking completion behavior.

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

Mô tả

Area-Predictors Issue-Enhancement Needs-Triage :mag:
Prerequisites
  • Write a descriptive title.
Description of the new feature/enhancement

Expose the number of items shown in command completion list ListViewMaxHeight as a $PSReadLine variable to make it changeable from UI. This would probably also need to expose the (internal?) constant of HistoryMaxCount (10) as well, shown a few lines above.

Proposed technical implementation details (optional)

No response

SO Refrence

https://stackoverflow.com/questions/77627464/how-to-increase-number-of-history-items-shown-in-powershell-command-completion?noredirect=1

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.