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

List view should include prediction for non-native commandlets (modules) and user functions. #4276

Closed
1 task done
RalfReddings opened this issue Nov 16, 2024 · 1 comment
Labels
Issue-Enhancement It's a feature request. Resolution-Answered Question is answered

Comments

@RalfReddings
Copy link

Prerequisites

  • Write a descriptive title.

Description of the new feature/enhancement

I think since PSReadLine 2.3.0, its been possible for the list view to also predict the paramters for native commandets such as get-item but this feature does not work with third party modules, users own modules and even functions.

It would be nice if PsReadline could parse session modules/functions and provide predictions for paramters and their built in values such as ValidtateSet values.

Am on:

  • PSReadLine 2.3.6
  • Windows 11
  • Powershell 7.4

Proposed technical implementation details (optional)

No response

@RalfReddings RalfReddings added the Issue-Enhancement It's a feature request. label Nov 16, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. label Nov 16, 2024
@StevenBucher98
Copy link
Collaborator

This is a function of the completion predictor, https://github.com/PowerShell/CompletionPredictor, if the non-inbox modules/cmdlets have registered tab completions then it will work with this module imported.

@StevenBucher98 StevenBucher98 added Resolution-Answered Question is answered and removed Needs-Triage 🔍 It's a new issue that core contributor team needs to triage. labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement It's a feature request. Resolution-Answered Question is answered
Projects
None yet
Development

No branches or pull requests

2 participants