Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Inlay Hint Support #2133

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

Draft
JustinGrote wants to merge 4 commits into main
base: main
Choose a base branch
Loading
from justingrote/feature/inlayHints
Draft

Inlay Hint Support #2133

JustinGrote wants to merge 4 commits into main from justingrote/feature/inlayHints

Conversation

Copy link
Collaborator

@JustinGrote JustinGrote commented Jan 25, 2024
edited
Loading

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)

andyleejordan reacted with hooray emoji
Copy link
Collaborator Author

JustinGrote commented Jan 25, 2024
edited
Loading

@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
Reviewers

Copilot code review Copilot Awaiting requested review from Copilot Copilot will automatically review once the pull request is marked ready for review

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /