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

Add info to "hover" peek type info #39

Open
GitMurf opened this issue Jul 9, 2023 · 2 comments
Open

Add info to "hover" peek type info #39

GitMurf opened this issue Jul 9, 2023 · 2 comments

Comments

@GitMurf
Copy link

GitMurf commented Jul 9, 2023

Is it possible to add the info to the hover peek type info popup?

@the21st
Copy link

the21st commented Mar 27, 2024

💯 came here to find this exact issue!

This is the missing piece which 10x's the UX of this extension and makes it actually super useful for daily usage. Not sure if it's possible within VSCode though.

@KillyMXI
Copy link

KillyMXI commented Aug 22, 2024

VSCode feature that allows extensions to add sections into hover popup is called "hover provider".
But it won't allow to have a tree view, only static content.
Best use for it would be to augment the information that is provided by native hover.

There is another extension - Prettify TypeScript - that adds a hover provider to show more unrolled type definition than the native hover provider.
Unfortunately, that information is not very useful for me most of the time.

What I'm looking for: I'd love to see better TSDoc descriptions in the hover.
For example, VSCode doesn't show descriptions of function parameters (except for very specific situations).

Being able to see TSDoc descriptions in TypeScript Explorer panel would've been still handy.
Unfortunately, the panel only shows descriptions on hover - this makes it requiring notable effort for something I'd wish to get effortlessly.

Relevant documentation and example links for hover providers:

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

No branches or pull requests

3 participants