1

In IntelliJ, when you hover of a variable, it will helpfully show you the type above it:

enter image description here

And if you have an error or warning, hover will helpfully show you a warning below it.

enter image description here

However, most of the time the warning is related to a variable, so you get a millisecond of warning popup which is then replaced by the type

enter image description here

enter image description here

Unlike the above images, usually there isn't enough time to read the warning. Is there a way to defeat this behavior or change which one of the two winds the pop-up war?

Arne Claassen
  • 14,088
  • 5
  • 67
  • 106

1 Answers1

2

In Preferences -> Scala, there is an option named 'Show type info on mouse motion with delay'. Change the delay, or uncheck the box.

This StackOverflow Question is somewhat related.

Community
  • 1
  • 1
colinjwebb
  • 4,362
  • 7
  • 31
  • 35
  • I had to turn it off, since delaying it only helps so much. But using referenced question i figured out how to get to the type Info via the keyboard, which is better anyhow. – Arne Claassen Sep 11 '14 at 04:38