PowerShellPSReadLine特性-创新互联
之前配置完VSCode和PowerShell集成后,可以使用powershell的智能感知,高亮等功能,查了一下,这个应该跟PSReadLine有关系。PSReadLine在PowerShell控制台中提供了改进的命令行编辑体验。
PSReadLine需要PowerShell 3.0或更高版本以及控制台主机。它在PowerShell ISE中不起作用。它在Visual Studio Code的控制台中工作。
https://docs.microsoft.com/zh-cn/powershell/module/psreadline/about/about_psreadline?view=powershell-6#about_psreadline
PSReadLine provides a powerful command line editing experience for the PowerShell console. It provides:
Syntax coloring of the command line
A visual indication of syntax errors
A better multi-line experience (both editing and history)
Customizable key bindings
Cmd and Emacs modes
Many configuration options
Bash style completion (optional in Cmd mode, default in Emacs mode)
Emacs yank/kill ring
PowerShell token based "word" movement and kill
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。
网站名称:PowerShellPSReadLine特性-创新互联
标题网址:http://pcwzsj.com/article/cceosi.html