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

Aperta
#3,892 1 commento 6 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
csharp, powershell
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
C#
Stelle
4.4k
Fork
341
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PowerShell/PSReadLine

Tutte le issue di PowerShell/PSReadLine

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.