PSReadLine 2.2 GA
We are pleased to announce the General Availability (GA) of PSReadLine 2.2, animproved command-line editing experience in the PowerShell terminal. This release is supported forPowerShell 7.x and downlevel to Windows PowerShell 5.1.
The release is now available for download on thePowerShell Gallery.
To install PSReadLine:
Install-Module -Name PSReadLine -Force
To install PSReadLine using the new PowerShellGet.v3
Install-PSResource -Name PSReadLine -Reinstall
General Availability Updates
Thank you to the community for your support, suggestions, and pull requests to help improvethe command-line editing experience with PSReadLine.
For more information about specific changes, view the PSReadLine Change Log.
Features of Note
Improvements to stability and performance, along with new and updated features, have been added tothis release.
Predictive IntelliSense
Predictive IntelliSense is an addition to the concept of tab completion that assists the user insuccessfully completing commands. The prediction suggestion appears as colored text following theusers cursor. This enables new and experienced users of PowerShell to discover, edit, and executefull commands based on matching predictions from the users history and additional domain specificplugins.
Predictive IntelliSense with InlineView:
Predictive IntelliSense with ListView:
This feature first appeared inPSReadLine 2.1.0 and has beenimproved for this release thanks to the community feedback.
For more information about configuring predictions, seeAnnouncing PSReadLine 2.1 with Predictive IntelliSense
Dynamic Help
Dynamic Help provides just-in-time help at the command line. This experience allows you to stayfocused on your commands in the pipeline without losing your place in the terminal.
Dynamic Help F1 key provides full help on the command-line.
For more information about additional features and keyboard shortcuts using Dynamic Help, seeAnnouncing PSReadLine 2.2-beta.2 with Dynamic Help
Additional Predictors
Are you working with Azure? When you’re ready to extend predictions to include additional plugins,try out the latest preview of the Az.Tools.Predictor
from the Azure PowerShell team.
For the latest preview:
Install-Module -Name Az.Tools.Predictor -AllowPrerelease -Force
To install Az.Tools.Predictor
using the new PowerShellGet.v3
Install-PSResource -Name Az.Tools.Predictor -Reinstall
Read more information, see Az.Tools.Predictor.
Future plans
We value your ideas and feedback for this release. Stop by thePSReadLine GitHub repository and let us know ofany issues you find or features you would like added.
0 comments