Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide Support for Powershell v5 #78

Open
MartinSGill opened this issue Aug 31, 2016 · 3 comments
Open

Provide Support for Powershell v5 #78

MartinSGill opened this issue Aug 31, 2016 · 3 comments

Comments

@MartinSGill
Copy link

PackageManagement\Install-Package : A command with name 'Register-ArgumentCompleter' is already available on this system. This module 'TabExpansionPlusPlus' may 
override the existing commands. If you still want to install this module 'TabExpansionPlusPlus', use -AllowClobber parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1661 char:21

It would be nice to have this module work out of the box for powershell v5.

Maybe by namespacing the Register-AutoCompleter function, e.g. Register-TPPAutoCompleter
I really want to be able to easily benefit from all the hard work put into the auto-completers shipped with the module, but errors on import make me nervous :)

@tommck
Copy link

tommck commented Aug 18, 2019

So.. uhhh.. guess this project is dead?

@lzybkr
Copy link
Owner

lzybkr commented Aug 22, 2019

You could say this project met it's goals. It was meant to be a prototype of what should be brought back into the core of PowerShell, and now that PowerShell has Register-ArgumentCompleter, the important part is complete.

Going forward, if someone else wanted to pick this up, I'd look at shipping 2 modules:

  1. CompletionUtilities - that has the helpers used by this completers in this module. Those utilities might also be candidates to bring back into PowerShell
  2. ArgumentCompleters - the useful argument completers that people typically want from this module.

@MatejKafka
Copy link

MatejKafka commented Mar 26, 2022

I created a new repo with just the completers, updated to work in PowerShell 5+ and PowerShell Core. Hopefully it's useful for someone. :)

https://github.com/MatejKafka/PowerShell-ArgumentCompleters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants