dahlbyk / posh-git

A PowerShell environment for Git
http://dahlbyk.github.io/posh-git/
MIT License
7.62k stars 802 forks source link

Suggestion: Implement a PSReadLine completion provider #936

Open dauthleikr opened 1 year ago

dauthleikr commented 1 year ago

Not sure if this is a welcome suggestion, or completely out-of-scope for this project, but here goes:

PSReadLine (another popular powershell module) now allows the registration of "completion providers", which are used for predictive "intellisense".

Example predictors: https://learn.microsoft.com/en-us/powershell/azure/az-predictor?view=azps-9.2.0 https://github.com/PowerShell/CompletionPredictor

Sadly, there are no predictors for git, and I can only rely on the "history" predictions, e.g.: image

It would be really nice to have a git-aware predictor :)