简体   繁体   English

Windows 终端/Powershell Intellisense

[英]Windows Terminal/Powershell Intellisense

I'm not sure if these are the correct terms, but in some tutorial videos I've watched, I've seen terminal "auto-completing" some commands in some sort of intellisense.我不确定这些术语是否正确,但在我看过的一些教程视频中,我看到终端以某种智能感知“自动完成”一些命令。 For example, one starts typing "npx cre", the terminal auto-completes with "npx create-react-app", but the remaining characters a bit greyed out, to accept or not the auto-completion.例如,一个人开始输入“npx cre”,终端自动完成“npx create-react-app”,但其余字符有点变灰,接受或不接受自动完成。 Is this feature exclusive to macOS or Linux terminals?此功能是 macOS 或 Linux 终端独有的吗? I'm currently using the new windows terminal app, but I couldn't find a way to enable this.我目前正在使用新的 windows 终端应用程序,但我找不到启用此功能的方法。

Thanks so much if you someone can clarify this.如果有人能澄清这一点,非常感谢。

It's the beta version of Psreadline: PSReadLine 2.0.0-beta3 - PowerShell Gallery It autocompletes using the command history file.这是 Psreadline 的 beta 版本: PSReadLine 2.0.0-beta3 - PowerShell Gallery它使用命令历史文件自动完成。 I believe it only works with Powershell 7.我相信它只适用于 Powershell 7。

Install-Module -Name PSReadLine -RequiredVersion 2.0.0-beta3 -AllowPrerelease

Predictive IntelliSense · Issue #1468 · PowerShell/PSReadLine预测 IntelliSense · 问题 #1468 · PowerShell/PSReadLine

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 从终端到Windows Powershell的Xmlstarlet命令 - Xmlstarlet command from terminal to Windows Powershell 在 Windows 中关闭 powershell 终端后如何使 PowerShell 进程保持活动状态 - How to keep the PowerShell process alive after closing powershell terminal in windows 如何删除 powershell 广告并更新 Windows 终端中的检查? - How to remove powershell ads and update checks in the Windows Terminal? 如何区分控制台程序是在 Powershell 中打开还是在 Windows 终端中打开? - How to distinguish if console program is opened in Powershell or in Windows Terminal? 是否可以在 Windows 上的 PowerShell 终端中有多个选项卡 - Is it possible to have have multiple tabs in a PowerShell terminal on Windows UTF-8 字符在新 Windows 终端的 Powershell 中显示为问号 - UTF-8 characters displayed as question mark in the Powershell of new Windows Terminal 有没有办法在 windows 终端的不同选项卡中运行多个 powershell 脚本? - Is there a way to run multiple powershell scripts in different tabs in windows terminal? 如何在Windows 10上将Git Bash Here终端从mingw更改为标准cmd或powershell? - How do I change the Git Bash Here terminal from mingw to the standard cmd OR powershell on Windows 10? 我可以让 Windows C# 控制台应用程序使用不同的终端,例如 PowerShell 或 MSYS 吗? - Can I make a Windows C# console app use a different terminal, like PowerShell or MSYS? 如何在新的 Windows 终端配置文件中使用 Anaconda 运行 powershell.exe? - How can I run powershell.exe with Anaconda in new windows terminal profiles?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM