PowerShellEditorServices icon indicating copy to clipboard operation
PowerShellEditorServices copied to clipboard

Inlay Hint Support

Open JustinGrote opened this issue 1 year ago • 1 comments

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. image

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)

JustinGrote avatar Jan 25 '24 03:01 JustinGrote

@MartinGC94 @andyleejordan @SeeminglyScience need to find where PSES gets this info from: image

EDIT: Found it, Detail property of a variable Completionlist entry image

JustinGrote avatar Jan 25 '24 03:01 JustinGrote