#author("2021-07-03T14:37:15+09:00","default:ryuichi","ryuichi")
#author("2021-07-03T14:37:47+09:00","default:ryuichi","ryuichi")
* Predictive IntelliSense [#s41d811c]

** 準備 [#a5e5606e]

 Install-Module -Name PSReadLine -RequiredVersion 2.1.0

** 有効化 [#vf78cd14]

 Set-PSReadLineOption -PredictionSource History
 Set-PSReadLineOption -PredictionViewStyle InlineView
 
 Set-PSReadLineOption -Colors @{
    "InlinePrediction" = "#666666"
 }


** キーバインド [#u2e83baa]

:補完の選択 | テスト'''CTRL-F'''を押す
 
:補完の選択 | サジェストが表示されたら'''CTRL-F'''を押す

** 参考 [#m96a3f41]

- https://devblogs.microsoft.com/powershell/announcing-psreadline-2-1-with-predictive-intellisense/
- https://www.powershellgallery.com/packages/PSReadLine/2.1.0
- https://github.com/PowerShell/PSReadLine

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS