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 Hints #1992

Closed
vidhanio opened this issue Jan 4, 2022 · 3 comments
Closed

Inlay Hints #1992

vidhanio opened this issue Jan 4, 2022 · 3 comments
Labels
Duplicate Make it obvious when issues are closed as duplicate FeatureRequest FrozenDueToAge
Milestone

Comments

@vidhanio
Copy link

vidhanio commented Jan 4, 2022

Describe the solution you'd like
From the Visual Studio Code docs, "Inlay hints add additional inline information to source code to help you understand what the code does." These would be useful for Go, and have been done in TypeScript and Rust for VS Code before. Goland also already has these, so their format might be helpful.

Additional context
Example in Goland with Go:
Example in Goland

Example in VS Code with Typescript:
image

@gopherbot gopherbot added this to the Untriaged milestone Jan 4, 2022
@hyangah
Copy link
Contributor

hyangah commented Jan 5, 2022

Duplicate of #1631

It seems that the upstream issue (LSP support) is waiting for VS Code API for the inlayHints to be finalized (microsoft/vscode#16221).

@hyangah hyangah closed this as completed Jan 5, 2022
@hyangah hyangah added FeatureRequest Duplicate Make it obvious when issues are closed as duplicate labels Jan 5, 2022
@vidhanio
Copy link
Author

vidhanio commented Jan 5, 2022 via email

@hyangah
Copy link
Contributor

hyangah commented Jan 5, 2022

Good point. Updated the issue title. :-)

@golang golang locked and limited conversation to collaborators Jan 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate Make it obvious when issues are closed as duplicate FeatureRequest FrozenDueToAge
Projects
None yet
Development

No branches or pull requests

3 participants