powershell 开启补全功能
tab 补全
编辑配置文件:
powershell
Notepad $profile
添加如下内容:
powershell
# Shows navigable menu of all options when hitting Tab
Set-PSReadlineKeyHandler -Key Tab -Function MenuComplete
智能提示
安装 powershell 7.3 或以上版本,默认启用 Predictive IntelliSense 特性。
安装方法:通过 winget 安装
powershellwinget search powershell winget install --id Microsoft.PowerShell --source winget