{"id":13706407,"url":"https://github.com/PowerShell/CompletionPredictor","last_synced_at":"2025-05-05T20:31:09.001Z","repository":{"id":41243869,"uuid":"465014661","full_name":"PowerShell/CompletionPredictor","owner":"PowerShell","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-26T20:55:04.000Z","size":500,"stargazers_count":152,"open_issues_count":6,"forks_count":9,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-11-11T21:42:24.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerShell.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-01T18:40:57.000Z","updated_at":"2024-10-31T18:43:21.000Z","dependencies_parsed_at":"2024-01-14T20:17:41.348Z","dependency_job_id":"c50d02ce-7e6b-4dc5-8544-90012eceb2ab","html_url":"https://github.com/PowerShell/CompletionPredictor","commit_stats":{"total_commits":27,"total_committers":5,"mean_commits":5.4,"dds":"0.18518518518518523","last_synced_commit":"b6115bcd3a7853e73d7768c4d49eb7f4dd2ed792"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FCompletionPredictor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FCompletionPredictor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FCompletionPredictor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2FCompletionPredictor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerShell","download_url":"https://codeload.github.com/PowerShell/CompletionPredictor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224465823,"owners_count":17315883,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T22:00:55.256Z","updated_at":"2024-11-13T14:30:59.262Z","avatar_url":"https://github.com/PowerShell.png","language":"C#","readme":"# CompletionPredictor\n\n\u003e **NOTE:** This is an experimental project with no target date for a 1.0 release.\n\nThe `CompletionPredictor` is a PowerShell command line auto-completion plugin for the PSReadLine\n[Predictive Intellisense](https://devblogs.microsoft.com/powershell/announcing-psreadline-2-1-with-predictive-intellisense/) feature:\n\n![CompletionPredictor](./tools/images/CompletionPredictor.gif)\n\nThis predictor is relatively simple and also serves as an example for you to build your own predictor.\n\nWe welcome your feedback and suggestions. Please file issues and submit pull requests in this repository.\n\n## Requirements\n\nThe `CompletionPredictor` plugin is built on the [Subsystem Plugin Model][subsystem-plugin-model],\nwhich is available with PowerShell 7.2 or above.\nTo display prediction suggestions from the `CompletionPredictor`,\nyou need [PSReadLine 2.2.2](https://www.powershellgallery.com/packages/PSReadLine/2.2.2) or above.\n\n- PowerShell 7.2 or above\n- PSReadLine 2.2.2 or above\n\n## Predictor documentation\n\nPowerShell predictors are written in C# and registered with the PowerShell [Subsystem Plugin Model][subsystem-plugin-model].\nTo learn more, see [\"How to create a command-line predictor\"]( https://docs.microsoft.com/powershell/scripting/dev-cross-plat/create-cmdline-predictor).\n\n## Build\n\nMake sure the [latest .NET 6 SDK](https://dotnet.microsoft.com/download/dotnet/6.0) is installed and\navailable in your `PATH` environment variable.\nRun `.\\build.ps1` from PowerShell to build the project.\nThe module will be published to `.\\bin\\CompletionPredictor` by a successful build.\n\n## Use the predictor\n\n\u003e NOTE: Make sure you use PowerShell 7.2 with PSReadLine 2.2.2.\n\n1. Install the module by `Install-Module -Name CompletionPredictor -Repository PSGallery`\n1. Import the module to register the plugin with the PSSubsystem: `Import-Module -Name CompletionPredictor`\n1. Enable prediction from the plugin source for PSReadLine: `Set-PSReadLineOption -PredictionSource HistoryAndPlugin`\n1. Switch between the `Inline` and `List` prediction views, by pressing \u003ckbd\u003eF2\u003c/kbd\u003e\n\n[subsystem-plugin-model]: https://docs.microsoft.com/powershell/scripting/learn/experimental-features#pssubsystempluginmodel\n\n## Code of Conduct\n\nPlease see our [Code of Conduct](.github/CODE_OF_CONDUCT.md) before participating in this project.\n\n## Security Policy\n\nFor any security issues, please see our [Security Policy](.github/SECURITY.md).\n","funding_links":[],"categories":["C# #"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerShell%2FCompletionPredictor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPowerShell%2FCompletionPredictor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerShell%2FCompletionPredictor/lists"}