PowerShell / PowerShell/vscode-powershell
Prioritize PowerShell autocomplete to top of suggestions list
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.9k
- Forks
- 547
- PR merge metrics
- No merged PRs in 30d
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
Summary
Powershell has a completion API for commands that prioritizes things such as camelcase letters. For instance the first completion for g-arg is Get-AzureResourceGroup.
If possible, we should use this API and prioritize those results to the top of the list, rather than the default lexical search vscode does. This will more closely match the editor experience to the shell experience.

TBD whether this should be the default behavior or an opt-in, but either way it should be controllable via a setting.
Proposed Design
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by investigating the PowerShell completion API and how the VS Code extension currently supplies autocomplete results. Determine how those results could be prioritized and how the behavior should be controlled by a setting; done means the shell-style ordering works and the default-versus-opt-in behavior is defined.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100