Evaluate Expression feature for Scala
Evaluate expression feature is available now in build 0.5.180.
This feature is not fully implemented (and will not be in foreseeable future) and have beta quality, however even now it’s much more usable than it was using Java language.
- Scala editor with debug context resolve/completion.
- Add import action.
- Conditional breakpoints.
- Local variables evaluation, even from inner functions/classes (you don’t need to use $ anymore).
- Local function calls.
- Implicit conversions.
- Default, named, implicit parameters for method calls.
- New instance creation.
- Boxing/unboxing of primitive values.
- Primitive values calculations.
- While/do/if statements.
- Assign statements.
- Pattern matching local value with one usage (It’s probably will be done).
- Anonymous classes (It’s will not be done as in Java Evaluate Expression)
- Anonymous functions (the same as for classes, however It’s slightly simpler than for classes, so unlikely, that it will be done, but it’s possible)
- By-name parameters (it’s anonymous function, however It’s probably will be done)
- Default, named, implicit parameters for constructors.
- Pattern matching.
- Variables/function declarations.
- Dynamic method calls (I’m sure it will be fixed soon)
Look at this feature in action:
Is it possible using Java?
IntelliJScala @ Scala Days 2023 Madrid
On September 12 – 14, the Scala Plugin team was in Madrid for the Scala Days conference. JetBrains was a Gold Sponsor for the event and we are very proud of it. We came to Madrid with a booth, merchandise, and a talk about the IntelliJ Scala Plugin. The Scala Plugin has seen a lot of improvements…
IntelliJ Scala Plugin 2023.2 Is Out!
Better Scala 3 Support IntelliJ IDEA 2023.2 brings enhanced Scala 3 support, with a focus on providing a streamlined development experience. Notable improvements include fixes for Scala 3 enum highlighting, navigation to enum definitions, and the correct resolution of enum cases in various contex…
IntelliJ Scala Plugin 2023.1 Is Out!
Improved support for braceless Scala syntax IntelliJ IDEA can now desugar braceless Scala code properly, and it handles refactorings where the “fewer braces” feature is used. It also supports braceless syntax in worksheets and correctly interprets indentation when you move extensions methods up a…
IntelliJ Scala Plugin 2022.3 Is Out!
This release has been again focused on Scala 3, but there are also quite a few other improvements. Better Scala 3 support In v2022.3, we’ve introduced a large number of upgrades to provide better Scala 3 support. The IDE now supports parameter untupling and quoted patterns, and it features man…