editors

Discussion about all editors used for Clojure/ClojureScript
colin.yates 2015-07-24T08:51:32.000062Z

@danielcompton: That’s great - is Mike’s second comment https://github.com/Day8/re-frame/issues/34 still the best way of wiring them up together?

danielcompton 2015-07-24T08:54:43.000065Z

@colin.yates: this is the bleeding edge now. It's pretty nice https://github.com/Day8/re-frame/wiki/Debugging

colin.yates 2015-07-24T08:55:18.000067Z

thanks

danielcompton 2015-07-24T08:58:54.000068Z

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

colin.yates 2015-07-24T09:08:23.000069Z

yeah, that’s unfortunate. Still, considering what else Cursive does it is hard to complain too much :simple_smile:

acron 2015-07-24T09:21:38.000070Z

what's the best way to search for text in a buffer? C-s seems wimpy

colin.yates 2015-07-24T09:23:07.000071Z

@acron https://xkcd.com/378/

colin.yates 2015-07-24T09:23:27.000073Z

@acron - I have nothing more helpful (I use C-s) :simple_smile:

acron 2015-07-24T09:29:30.000074Z

@colin.yates: :simple_smile: I found M-x list-matching-lines

colin.yates 2015-07-24T09:30:06.000075Z

I find ace-jump really useful as well but only if you can see the thing you want to jump to.

bozhidar 2015-07-24T12:03:08.000076Z

and avy’s even better :simple_smile:

bozhidar 2015-07-24T12:03:25.000077Z

occur is nice for searching within a buffer

bozhidar 2015-07-24T12:03:41.000078Z

and when looking for some definition I usually use imenu

acron 2015-07-24T15:38:34.000079Z

cheers bozhidar

meow 2015-07-24T18:13:56.000080Z

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?

colin.yates 2015-07-24T18:14:53.000081Z

@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.

colin.yates 2015-07-24T18:15:07.000082Z

whichever you do I think you need to restart any REPLs for them to see the new lib

meow 2015-07-24T18:16:35.000084Z

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.

colin.yates 2015-07-24T18:16:55.000085Z

try clicking the circle then in the Leiningen tab

meow 2015-07-24T18:19:28.000088Z

@colin.yates: refreshing the Lein project worked great, thanks :simple_smile:

meow 2015-07-24T18:19:59.000089Z

I've also been using boot so I'm having to get used to Lein and Cursive together.

colin.yates 2015-07-24T18:20:47.000090Z

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?

meow 2015-07-24T18:21:44.000091Z

Yeah, we're using this in the mean time: https://github.com/boot-clj/boot/wiki/For-Cursive-Users

meow 2015-07-24T18:24:43.000093Z

@colin.yates: hey, I didn't even think to look for a #C0744GXCJ channel - I'm there now :simple_smile: