How to show type of selected expression? #9546
Unanswered
JustAnotherCodemonkey
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I was using VS Code to code in Rust, I was able to highlight an expression and then hover over it and it would show the type of the result of the expression. In Helix, when I use
<space>, k
to show docs under cursor, it only shows what is directly behind the cursor and awkwardly sometimes on it. Even by adding parentheses, putting the cursor past the closing parenthesis and space-k-ing, nothing comes up.Is there a way to achieve this functionality without having to go to the pain of temporarily recreating the expression as a variable assignment so I can then doc the var?
Beta Was this translation helpful? Give feedback.
All reactions