PowerShellEditorServices
PowerShellEditorServices copied to clipboard
Inlay Hint Support
PR Summary
This PR implements Inlay Hints to resolve the type in PowerShell when it can be determined by the PowerShell Type Inference completer. This is considered best effort and not exhaustive.
NOTE: This PR uses some modern C# syntax features that do not match the prevailing style. Worth exploring if these are OK to adopt:
- File Scoped Namespace (reduces indentation)
- Primary Constructor (simplifies dependency injection)
- LINQ Query Syntax (easier to follow symbol selection process)
@MartinGC94 @andyleejordan @SeeminglyScience need to find where PSES gets this info from:
EDIT: Found it, Detail property of a variable Completionlist entry