Cursive 1.13.2-eap5

37 views
Skip to first unread message

Cursive

unread,
Mar 7, 2024, 6:13:36 AMMar 7
to cur...@googlegroups.com

Hi everyone,

Cursive 1.13.2-eap5 is out. As well as fixing a few bugs that have appeared in the tracker, there are some new features.

Recently, I changed the new namespace dialog to pre-fill the namespace prefix based on the location of the new file in the filesystem. While this was a nice change, that text was always selected by default, which was a pain - it was easy to delete it by accident. This is fixed in this release.

For remote REPLs, you can now also choose to get both the host and the port from a URL file, instead of just the port. This is useful if you want to connect to a machine which has been spun up in a cloud service, for example. Just use standard URI syntax, for example repl://1.2.3.4:8000, the scheme is ignored. Standard nrepl URLs will work there too.

Finally, there are now code annotations by vars showing how many reference to those vars there are. Like the Java implementation, this is a best-effort annotation. What that means is that vars with names that are very common appear in lots of places, and that makes the search very expensive for a (semi-)real-time annotation and they won't be annotated. There was a bug previously which made this extremely conservative for Clojure, so it should work better now, but it's still noticeable for vars with names which are words which appear frequently (so names like action, project and module in the Cursive source, for example). This means that this is generally useful for finding unused vars, but some will be missed if they have very common names. If an annotation appears, it should be accurate, though.

Here are the issues:

Added

  • Code vision for references #2741
  • Add Programmatic Setting of Remote REPL Host #2559

Changed

  • Don't select namespace text when creating a new namespace #2881

Cheers,
Colin

Reply all
Reply to author
Forward
0 new messages