Scala 3.8 Support in the Scala Plugin | The IntelliJ Scala Plugin Blog
Blog post from JetBrains
The Scala 3.8 release introduces several new features and enhancements, including the "into" modifier, which simplifies type conversions by allowing types implicitly convertible to a declared type to be accepted without the need for an implicitConversions import. This release requires JDK 17 or newer, and the Scala plugin provides warnings if an older JDK version is selected. The "Better fors" feature offers a syntax relaxation for for-comprehensions, allowing aliases before a generator. Additionally, the release includes basic support for capture checking, which is still experimental, and introduces the runtimeChecked method to bypass certain static checks in the compiler, such as pattern match exhaustivity. The Scala team at JetBrains is committed to improving support for Scala 3.8 and encourages user feedback to enhance the development experience further.