Show type of variable when Ctrl-Hover
See original GitHub issueWhen Ctrl-Hovering, it would be neat if you could see the type of the variable if that is available to intellij-rust
.
PyCharm does something like this for Python code:
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:6 (3 by maintainers)
Top Results From Across the Web
CTRL-hover does not display inferred type : PY-44485
PY-54611 ctrl + hover should show variable initializer in Python just like Java ... I'd expected that I get that the inferred type...
Read more >IntelliJ: Highlight the type of a variable on hover - Stack Overflow
By placing cursor on a variable and hitting Ctrl-Q you'll find all the documentation regarding this variable, including type.
Read more >269390 – Please show type of variable via ctrl + hover on ...
In PHPStorm you got the type of the variable when you ctrl + hover on it. Here is an example: $model = new...
Read more >Code Navigation in Visual Studio Code
If a language supports it, you can go to the definition of a symbol by pressing F12. If you press Ctrl and hover...
Read more >VS Code tips — Hover peeks - YouTube
Today's VS Code tip: hover peeksWhile hovering over a symbol, VS Code shows its documentation and type info. You can also quickly preview ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In addition to variables it would be even better if the information were available in chained calls. For a beginner it is quite helpful to know what the type of some intermediate result is so one can call the right transformations on it.
@kindlychung we already have
Shift+Ctrl+p
functionality, though type inference itself is very poor at the moment, so it’s not very usable.