Cursive 1.13.1

193 views
Skip to first unread message

Cursive

unread,
Dec 6, 2023, 9:07:37 PM12/6/23
to cur...@googlegroups.com

Hi everyone,

Cursive 1.13.1 is out! This release got away from me a bit, and there's lots of new things and fixes in it in the end.

Apart from adding support for IntelliJ 2023.3, this release also adds some better navigation support. Breadcrumbs, nav bar, file structure for EDN files and IntelliJ's Context Info feature are now all supported. Since both Clojure and EDN now support the navigation bar, the breadcrumbs for both are turned off by default. This mimics what the Java and Kotlin plugins do. If you'd like to see the breadcrumbs in addition to the navigation bar elements (they're more detailed in Clojure code, particularly), you can turn that on at Settings | Editor | General | Breadcrumbs.

There's better alias support for deps projects, and a lot of bugs fixed for git dependencies, particularly ones transitively containing :local/root projects. The REPL pane now supports zooming the view properly, and forms sent to the REPL properly include their metadata.

This release adds support for Red Planet Labs' Specter library and Rama framework. The Rama support was very tricky, and I went back and forth several times on the best way to support it. The issue is primarily that the dataflow DSL isn't really Clojure code, and it's hard to use Cursive's internal extension framework to deal with it. It mostly seems to work ok, with a few quirks which are detailed in the issue. I'm interested in feedback on how well this works.

There are also lots of bugfixes, including some fairly serious ones. Windows support for deps was fairly broken in many cases due to path issues, and the test markers in the interactive test support wouldn't show up on Windows either (also due to paths). And many more smaller fixes, and some internal work to move off older deprecated IntelliJ APIs, which should hopefully be invisible to everyone but me.

Since IntelliJ 2023.3 will be stable shortly, this will be the last release with support for the IntelliJ 2022 releases. This release is the same as the last EAP (1.13.1-eap10) for those receiving EAP builds, just released to everyone as a stable build.

Here are the issues:

Added

  • Support 2023.3 EAP #2840
  • Implement Context Info #2838
  • File Structure support for EDN files #2706
  • Unable to select aliases when importing deps project #2285
  • Add breadcrumbs #1793

Changed

  • When sending forms to REPL, they should include any metadata #2859
  • Please enable stub generation for Rama #2855
  • Clarify warning message when syncing using tools aliases #2826
  • Add stub generation support for Specter #2767
  • Cursive & Specter not playing nicely #1973

Fixed

  • Exceptions thrown when file's file type is overridden #2858
  • Exception when keyword is used in clojure.test/testing #2857
  • :local/root deps from within git deps are incorrectly added as modules #2845
  • The project has an outdated format on startup #2835
  • deps.clj is not correctly downloaded if user doesn't have it installed at startup #2832
  • :local/root dependencies do not work correctly on Windows #2831
  • local/root deps are not handled correctly when using paths outside referring project #2829
  • Deps modules which are converted to libraries are incorrectly shown in project view before sync #2823
  • New deps integration doesn't handle case when project requires aliases to sync #2822
  • New deps integration doesn't correctly handle :mvn/local-repo #2821
  • New IDE zoom doesn't affect the REPL-window #2793
  • Leiningen task command line parameters with spaces #2769
  • Ctrl+Mousewheel REPL zoom #2766
  • Test markers not visible in the gutter #2762
  • IntelliJ IDEA 2022.1.2 REPL Pinch to zoom #2726
  • Variable binding is wrong on if-let #500

Cheers,
Colin

Reply all
Reply to author
Forward
0 new messages