Wednesday, July 19, 2023

Powershell 7+ : Change intellisense prediction style view and and source

Before:



 1. While typing click F2 to toggle or using Powershell...

2. Adjust using PS to change the POSReadLine Options via Set-PSReadLineOption:

If you want the same cmd prediction view as John, be sure to adjust the -PredictionViewStyle and -PredictionSource, the default InlineView is very plain.

PS C:\> Set-PSReadLineOption -PredictionViewStyle ListView PS C:\> Set-PSReadLineOption -PredictionSource HistoryAndPlugin

E.g: After




No comments:

Post a Comment