vscode-powershell
vscode-powershell copied to clipboard
Parameter Completion Codelens should automatically switch to the current matching ParameterSet
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.

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
Note this is "signature help" rather than a code lens but yeah it'd be nice for sure. It'd need a call to StaticParameterBinder.BindCommand which is pretty expensive, so it may not be feasible but absolutely worth trying.
@SeeminglyScience maybe debounce it to a configurable setting delay, say 500ms or so, so that it's not slamming BindCommands? Also should be very cacheable.