Coming from Java I am not used to that
I believe Java also has those, maybe they are not that common?
Is there a (curated) list which options should be used
But wait, there are better news coming…
How can I integrate those options? Do I add it to my
Yes, you set them manually as the blog post shows or, you can just use sbt-tpolecat and call it a day.
This is great because:
- The plugin is updated, whereas the blog post isn’t.
- The plugin automatically handles cross-compilation.
- If you use something like scala stedward you will have the plugin always updated.
Does anyone know how to enforce them in IntelliJ?
No idea, sorry. I do not use IntelliJ.
I believe that if you import the build IntelliJ should identify and respect them, but not sure.
I just use metals + vscdoe which does import all those options.
BTW: Even if the plugin will configure all the flags for you, I still recommend you to read the blog and understand all the flags.