Arne Claassen
Arne Claassen

Reputation: 14414

How to solve battling Type & Warning popups in Intellij Scala editor

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?

Upvotes: 1

Views: 149

Answers (1)

colinjwebb
colinjwebb

Reputation: 4378

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.

Upvotes: 2

Related Questions