How can I “re-run with -feature for details” ?
I’m trying to convert a project from 2.12 to 2.13.
I’m getting some messages from IntelliJ that I don’t understand how to deal with,
such as “scalac: 23 deprecations in total; re-run with -deprecation for details”
and “scalac: 2 feature warnings; re-run with -feature for details”
I don’t see anywhere to enter the scalac flags in IntelliJ.
Here is the Scala compiler control form.
That is why an editor is not a build tool, set the flag in
build.sbt and make the editor re-import the build definition. But I am not sure if IntelliJ will even understand or respect the flag, so the best would just run compile in **sbt` after setting the flag to see the errors.
That is the Scala Compile Server page. Go up one level to the Scala Compiler page, you’ll see a section Options with Enable warnings under it and Feature warnings under that.