question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Show type of variable when Ctrl-Hover

See original GitHub issue

When Ctrl-Hovering, it would be neat if you could see the type of the variable if that is available to intellij-rust.

rust-ctrl-hover

PyCharm does something like this for Python code:

pycharm-type-hover

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
the8472commented, Oct 26, 2016

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.

eclipse-tooltip

2reactions
matkladcommented, Sep 1, 2016

@kindlychung we already have Shift+Ctrl+p functionality, though type inference itself is very poor at the moment, so it’s not very usable.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found