You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An implementation of both IFeedbackProvider and ICommandPredictor can benefit just showing the prediction at the prompt before a keypress. I realize that PSReadLine is only invoked upon a keypress, so this may require changes to PS7 as well to make this work. We may want to special case it some most predictions still work against key presses.
Here are mock ups for the experiences when feedback providers give prediction results:
Inline view
(If possible) Predictors will only chose the top most feedback provider to show only after feedback providers have been triggered in some way (is this possible in PSReadLine?)
Otherwise if no feedback provider has been trigger then don't show anything until characters are typed (experience now)
ListView
ListView will order the prediction sources based on order of feedback providers (import order)
as user begins typing in ListView then history will take higher priority but still will be present
If the user has plugin predictors also enabled and only after a feedback provider trigger, then the feedback provider predictor results will be higher in the order
Activity
StevenBucher98 commentedon May 30, 2023
Here are mock ups for the experiences when feedback providers give prediction results:
Inline view
ListView
ListViewthen history will take higher priority but still will be presentcc Dongbo Wang (@daxian-dbw)