Hover to see variable type

Answered

When I hover over a variable, I generally see the variable type and path. But if the variable is unused, there is no comment about that added. Instead, the important information about the variable is replaced with the text saying that it is unused. So when type information is needed the most, it is hidden. It would huge improvement to always just display type and path, and if you like to communicate that it is unused, which is not necessary, that can be added to the important information. Is there perhaps an easy way to get type and path from hovering an unused variable today? A setting or so?

2 comments
Comment actions Permalink

Hello Anders,

You can use a shortcut for Quick Documentation, it will show path and type despite the unused variable warning popup. Does this work for you?

0
Comment actions Permalink

Yes it does. Thank you! And please regard my question as an example of possible simplification.

0

Please sign in to leave a comment.