CompletionPredictor 注意: 这是一个实验性项目,尚无 1.0 版本的发布日期。CompletionPredictor 是 PowerShell 的一个插件,可以预测 PowerShell 脚本的完成时间。
CompletionPredictor 注意: 这是一个实验性项目,尚无 1.0 版本的发布日期。CompletionPredictor 是 PowerShell 的一个插件,可以预测 PowerShell 脚本的完成时间。
NOTE: This is an experimental project with no target date for a 1.0 release.
The CompletionPredictor is a PowerShell command line auto-completion plugin for the PSReadLine
Predictive Intellisense feature:
This predictor is relatively simple and also serves as an example for you to build your own predictor.
We welcome your feedback and suggestions. Please file issues and submit pull requests in this repository.
The CompletionPredictor plugin is built on the Subsystem Plugin Model,
which is available with PowerShell 7.2 or above.
To display prediction suggestions from the CompletionPredictor,
you need PSReadLine 2.2.2 or above.
PowerShell predictors are written in C# and registered with the PowerShell Subsystem Plugin Model. To learn more, see "How to create a command-line predictor".
Make sure the latest .NET 6 SDK is installed and
available in your PATH environment variable.
Run .\build.ps1 from PowerShell to build the project.
The module will be published to .\bin\CompletionPredictor by a successful build.
NOTE: Make sure you use PowerShell 7.2 with PSReadLine 2.2.2.
Install-Module -Name CompletionPredictor -Repository PSGalleryImport-Module -Name CompletionPredictorSet-PSReadLineOption -PredictionSource HistoryAndPluginInline and List prediction views, by pressing F2Please see our Code of Conduct before participating in this project.
For any security issues, please see our Security Policy.
暂无开放 Issues,或尚未同步最近议题。