Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Redirect
locationhttps://www.jetbrains.com/help/idea/working-with-scala-implicit-conversions.html

Scala implicit conversions is a powerful tool for Scala coding.  It lets you decrease redundancy in your code and lets you make the code easier to read.

Scala implicit conversions feature enables you to do the following:

  • Highlight methods in which implicit converions were used.
  • Select from the available list of all applicable implicit conversions.
  • Apply conversion either explicitly or in shorter version and still get the same result.
  • Invoke implicit parameters.

...


If IntelliJ IDEA cannot find method calls where implicit paramerers were passed,  it displays a pop-up message:

 

Note

See also the tutorial Getting started with Scala in IntelliJ IDEA.