This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
How do I get cursive to use a newer version of a dependency? I changed my project.clj file and that didn't do it.
@meow: There’s a bug in the current version which is fixed for the next build. Cursive didn’t save all files every time it should have. The easiest way is to Alt-tab to another app (IntelliJ will save all files when it loses focus) and back again, then hit refresh in the Leiningen toolwindow.
@danielcompton: Yeah, the problem is hooking into the element selection to detect that case - currently Cursive doesn’t get called at all. I’m sure there’s a good way to do it, I just haven’t found it yet.
I'm really enjoying Cursive, though I'm far from productive with it. Do you have any good resources for getting up-to-speed with structured editing?
Not really unfortunately, no - just practise is the best advice I can give. There’s some more advice here: https://cursiveclojure.com/archive/1293.html
I’m actually considering something like a typing tutor for paredit - I think something like that would be really helpful for beginners.
And I'd love to know how dnolen has cursive configured since he seems quite happy with his workflow for cljs using a simple browser repl. Some wiki pages for this might be nice, since then the community could help out.
Yeah, I’ve been planning to update the CLJS wiki with that info. There’s a page on the Figwheel wiki: https://github.com/bhauman/lein-figwheel/wiki/Running-figwheel-in-a-Cursive-Clojure-REPL
Also bear in mind that dnolen is generally happy with a pretty minimal setup. I think that makes a lot of sense for CLJS especially, since nREPL doesn’t really buy you much.
All the completion etc in a CLJS REPL for Cursive happens from the open project anyway, since the CLJS REPL doesn’t allow you to introspect the running env as much as the CLJ one does.
No worries. I’m actually in the middle of updating the Cursive website and doc, it should be better soon. I’m also considering open sourcing the doc so others can contribute.