How to disable IntelliJ IDEA type inspection?

The IntelliJ IDEA Scala plugin complains about "type mismatch" many times, even if the corresponding code compiles absolutely fine. I find this rather annoying and would like to disable this feature. I did not find a suitable parameter for searching in the settings. How can I get rid of it?

+3
source share
4 answers

Disabling the highlight function like Aware by clicking this symbol may help a little.

enter image description here

Edit

Scala, . , "" ( " Aware" ), , " ".

enter image description here

+9

, "" . , , . (, StackOverflow , , " !"

+4

, , Scala IntelliJ. JetBrains SCL-10983, Aware.

( ):

class Data {
  /*_*/
  def data: Int = this
  /*_*/
  def dataAgain: Int = this
}

, , /*_*/, .

+2

@rxg: , :

rows IndexedSeq[Row], Row - Apache POI Excel. traverse, Scalaz. Validation - Scalaz. GryphonError ADT .

rows.zipWithIndex.traverse[({type L[X] = Validation[Seq[GryphonError], X]})#L, Seq[Any]] { case (row, r) =>
  // some stuff
}

scalac . IDEA- :

   Type mismatch, expected: ((Row, Int) => F[B])
                  actual:   ((Row, Int) => F[IndexedSeq[B]])
+1
source

All Articles