Hi everyone,
Cursive 1.8.0-eap4 is out. It contains various fixes and improvements to the deps support. In particular, you can now use tools.deps directly rather than using the CLI tools, which means that Windows users can now manage their projects with deps. This has some caveats, in particular the system deps.edn is bundled with Cursive, so it will always use the current version as of the time of this writing. There is some consideration being given to bundling that into the tools.deps jar rather than installing it via the CLI tools, if that happens this limitation will go away.
The configuration of this is currently a little clunky. You can configure it either at Settings->Build, Execution, Deployment->Build Tools->Clojure Deps or in the global settings section when setting up a new project. Select “Use tools.deps directly”, then press the “Refresh” button to get the list of available versions. Select the version you want to use (by default the latest is selected) and then press “Download” to fetch the artifacts from Maven. You should then be good to go. If required, you can also customise the path to your user deps.edn file if you want to do so.
Note that this doesn’t require or use WSL at all, and in fact it can’t - IntelliJ lives entirely in Windows land and can only read files from WSL. If you’ve been using deps under WSL you’ll probably have to copy your user deps.edn somewhere accessible, or point Cursive to it as described above. I don’t use Windows myself, so any feedback about how well all this works is very welcome.
This EAP also fixes some annoying issues - one error while indexing, a StackOverflowError when editing some CLJC files, and a problem which prevented custom repo certificates from being used under lein.
Here are the issues:
Cheers,
Colin
Hello Colin,the https://cursive-ide.com/ documentation doesn't mention tools.deps. In my opinion it would make sense to have a page dedicated to it, to make Cursive even more appealing :-)
--You received this message because you are subscribed to the Google Groups "Cursive" group.To unsubscribe from this group and stop receiving emails from it, send an email to cursive+u...@googlegroups.com.To post to this group, send email to cur...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/cursive/6914b180-40bd-4440-ad14-2ef6bcd3aa15%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/cursive/1533610462.2696797.1465718816.61CA30B7%40webmail.messagingengine.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cursive/CAJCeHrUHJTgXHGwd_O1NhSaHRu%2BR6S_LuaPhoW5vhJRtPSxiUg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cursive/1533772679.1848650.1468119792.374646B2%40webmail.messagingengine.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cursive/1533772679.1848650.1468119792.374646B2%40webmail.messagingengine.com.