Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inlay Hint Support #2133

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Inlay Hint Support #2133

wants to merge 4 commits into from

Conversation

JustinGrote
Copy link
Collaborator

@JustinGrote JustinGrote commented Jan 25, 2024

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
Copy link
Collaborator Author

JustinGrote commented Jan 25, 2024

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant