Skip to content

how to go to definition of hint type? #11519

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

Closed
bigdogs opened this issue Feb 21, 2022 · 3 comments
Closed

how to go to definition of hint type? #11519

bigdogs opened this issue Feb 21, 2022 · 3 comments

Comments

@bigdogs
Copy link

bigdogs commented Feb 21, 2022

Hi,

I want to jump to definition of hint type UsageError . when my mouse at position "a", the blue panel is show up, But when I trying to move my mouse from position "a" to position "b", the blue panel is gone, I have no chance to go to definition of "hint" type.

image

What should I do to go to definition of `UsageError`
@bigdogs
Copy link
Author

bigdogs commented Feb 21, 2022

Is there possible to go to definition of hint type just with "cmd" + "click" , when my mouse pointer at the hint type? (like inteijj rust? )

@SomeoneToIgnore
Copy link
Contributor

SomeoneToIgnore commented Feb 21, 2022

Answering the latest comment's question: it is not possible now due to the hacky way our hints are implemented.

But after #11445 lands, inlay hints will be using official VSCode API which does provide a way to Cmd/Ctrl+click a hint part.
Yet there has to be more work done to support it, since the migration PR does not implement the clicking yet.

@Veykril
Copy link
Member

Veykril commented Mar 16, 2022

Tracked in #11701

@Veykril Veykril closed this as completed Mar 16, 2022
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