Add a .NET API to add native completers
See original GitHub issueSummary of the new feature/enhancement
Currently there are ways to register a scriptblock as a completer with Register-ArgumentCompleter
, and on cmdlets it’s possible to use the [ArgumentCompleter()]
attribute to specify an IArgumentCompleter
for a parameter. But there’s no way to specify a completer for an ordinary command that I know of that doesn’t involve executing a scriptblock.
By this I mean, you can use Register-ArgumentCompleter
or you can use override TabCompletion2
, but I’d really like a nicer hook for:
- General completions
- Command completions
- Native command completions, especially
Issue Analytics
- State:
- Created 4 years ago
- Reactions:8
- Comments:14
Top Results From Across the Web
ASP.NET Core support for native AOT
In this article. Why use native AOT with ASP.NET Core; ASP.NET Core and native AOT compatibility; Native AOT publishing; The Web API ( ......
Read more >React with .NET Web API – Basic App Tutorial - YouTube
Learn how to create a basic React application that leverages a . NET Web API Component (that we write using C#). In order...
Read more >Support publishing ASP.NET Core API apps with Native ...
Overview .NET 7 introduced support for publishing .NET console projects as native AOT, producing a self-contained, platform-specific executable without any ...
Read more >React Native with Asp.net Core Web Api
I have a website written in React JS and want to add apps using React Native. All the services are working and in...
Read more >Building an ASP.NET Web API with ASP.NET Core
In this article, I'll be covering: How to create a REST API from scratch using .NET Core, EF Core, AutoMapper, and XUnit; How...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’d love to see more ways of extending completion! One of the biggest things that’s always stopped me from working on anything to extend general completion is that it’s all or nothing. If you override
TabExpansion2
, then anyone else trying to do the same will completely override you. I’d love to see something like an interface that can be registered in the engine to incrementally augment completion. Something like:So we could discuss follow signatures: