IntelliJ IDEA - Controlling indentation, tabs, and spaces with the Scala plugin

Note to self: when writing Scala code with IntelliJ IDEA, you can configure the indentation by going to Settings, then Editor, then Code Style, then Scala. The indentation and other code formatting options are under there. For some reason I couldn’t find this by searching the Settings for “indent” and similar phrases.