How can I find a description of scala compiler flags/options?

Edit: Documentation for Scala Compiler Options has been posted. Most of us get by with scalac -help, scalac -X and scalac -Y. Don’t forget to scala -help, too. Edit: sbt user can do the usual: > set scalacOptions in Compile += “-X” > compile [snip] [info] -Xcheck-null Warn upon selection of nullable reference. [info] -Xcheckinit … Read more

-Ywarn-unused-import triggering on play routes file

I’ve come up with a working solution for Scala 2.13.7 (no need for any plugin) for Play 2.8.11. Take a look on those examples and adjust to your needs: scalacOptions ++= Seq( “-Wconf:cat=unused-imports&site=.*views.html.*:s”, // Silence import warnings in Play html files “-Wconf:cat=unused-imports&site=<empty>:s”, // Silence import warnings on Play `routes` files “-Wconf:cat=unused-imports&site=router:s”, // Silence import warnings … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)