PowerShell / PowerShell/vscode-powershell

Parameter Completion Codelens should automatically switch to the current matching ParameterSet

Open
#4,001 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-IntelliSense Feature: VS Code Issue-Enhancement Up for Grabs
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

Issue Type: Feature Request

This might require additional calls but ideally if I am entering a parameter that is on a unique parameterset, the codelens should automatically switch to that overload.
image

Extension version: 2022.5.5
VS Code version: Code - Insiders 1.68.0-insider (c0769274fa136b45799edeccc0d0a2f645b75caf, 2022-05-23T05:17:12.256Z)
OS version: Windows_NT x64 10.0.22621
Restricted Mode: No

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Parameter Completion Codelens and its ParameterSet selection logic in the TypeScript extension, then reproduce the behavior in VS Code using a command with a uniquely matching parameter set. Done means the codelens automatically switches to that matching overload while entering a parameter, with the behavior covered by the relevant existing tests if available.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.