Hi everyone,
Cursive 1.13.4 is out! This release includes several new features, improvements, and bug fixes.
Support for IntelliJ 2024.2 has been added ahead of its release, and support for 2023.1 has been dropped since 2024.1 has been out for a while now.
This release updates the support for the new interop syntax in Clojure 1.12, and provides an inspection to convert code using reified versions of functional interfaces to use a function instead.
It also fixes some long-standing issues with the test integration. Failed test assertions now show explanations inline in the editor, and diffs are displayed inline with the option to pop out. This fixes issues with several testing libraries including test.check, test.chuck, and matcher-combinators. For multiple assertion results, you can now switch between them inline for both diffs and result inlays. There's also a new option to always show diffs in new windows, by disabling Settings | Languages & Frameworks | Clojure | REPL Options | Show test result diffs inline in editor.
Previously, it was not possible to classify directories synced via deps as resource or test resource roots. This is now fixed, and this change also has improvements to the selection of directories as test roots as well - see #2400 for details.
There's also another significant change that doesn't have an issue associated with it. When I originally added Cursive's REPL view, IntelliJ's support for the views in consoles (things like REPLs and run output views) was a lot simpler than it is now. It didn't support some of what I needed for Cursive, so I just vendored the code into Cursive and modified it there. However, JetBrains have added more and more features to their console, and they have also become much stricter about use of internal code in plugins and performance-related issues. It was a lot of work to keep up, so I've switched to using their console code and deleted my vendored version. This will have a few effects:
clojure.core and nrepl. This is what the other language integrations do. If you want to customise how this works, you can do so at Settings | Editor | General | Console.By default, IntelliJ doesn't allow unlimited output in console windows, so if you print a lot of output at once, it might get truncated. You can configure this size at: Settings | Editor | General | Console | Override console cycle buffer size.
Several bugs have been fixed, including issues with import optimization and a UI freeze caused by regex backtracking. Various other fixes and improvements have been made based on error tracker reports, and the icons have been updated to match the new UI guidelines.
Here are the issues:
Added
Changed
Fixed
Cheers,
Colin