Java variable type hint not showing for var types
已回答
My Intellij Community suddenly just stop showing me type hint for var variables.
I know I can just use ctrl+q
but there was no need for that before, it was something like that:
var tmp String = "xyz";
where String was little placeholder visible next to name of the variable
It this feature disabled? Could someone tell me how to enable it? I couldn't find it...
请先登录再写评论。
Hi,
Check if Settings | Editor | General | Code Folding | Replace 'var' with inferred type checkbox is enabled.
That wasn't it but I found the solution.
Alt + enter on var:
Enable 'Implicit types' inlay hints.
but anyway thanks for help!