Because Scala is a curly-bracket language, adding and removing curly braces is an integral part of Scala programmers' everyday life. Those actions compound, so every improvement in this area matters. To understand the new advances, let us first take a take a look at it from historical perspective (or just watch this).
Before
At the beginning, there was no IDE assistance, so you had to tinker with curly braces manually:
https://blog.jetbrains.com/wp-content/uploads/2020/07/braces-1.mp4
Not only did this require more keystrokes, but the code was not valid for long. It was not good...
But now, t

IntelliJ Scala Plugin 2020.2: Indentation-based Brace Handling
by