It doesn't work that nicely with Cursive yet, clairvoyant traces with a macro and cursive doesn't resolve the defns inside the tracing macro
yeah, that’s unfortunate. Still, considering what else Cursive does it is hard to complain too much :simple_smile:
what's the best way to search for text in a buffer? C-s seems wimpy
@acron - I have nothing more helpful (I use C-s) :simple_smile:
I find ace-jump really useful as well but only if you can see the thing you want to jump to.
and avy’s even better :simple_smile:
occur is nice for searching within a buffer
and when looking for some definition I usually use
I just started using Cursive. When I add a dependency to my project.clj file, such as
[org.clojure/core.async "0.1.346.0-17112a-alpha"] how do I get Cursive to then update its external libraries for this project?
@cursive has a Leiningen panel in which you can click ‘refresh’. That will download them. Alternatively download them in a console (‘lein deps’) and then restart IntelliJ.
whichever you do I think you need to restart any REPLs for them to see the new lib
I've already got them downloaded, and I haven't started a REPL yet, but I'm getting messages like
chan cannot be resolved in my code.
try clicking the circle then in the Leiningen tab
@colin.yates: refreshing the Lein project worked great, thanks :simple_smile:
I've also been using boot so I'm having to get used to Lein and Cursive together.
I remember Colin (the other one ;-)) mentioning that boot support is on the roadmap but I have no idea how long. Might be worth dropping him a note in the #C0744GXCJ channel?
Yeah, we're using this in the mean time: https://github.com/boot-clj/boot/wiki/For-Cursive-Users