Fork me on GitHub
#cursive
<
2016-02-04
>
moizsj05:02:36

Cursive hangs when I press option+Enter on Mac to auto-require the suggested require statement. Anybody else noticed this?

cfleming08:02:40

@moizsj: No, no-one else has reported it, at least.

cfleming08:02:50

Do you mean the whole UI freezes?

moizsj08:02:13

yup, pretty much have to restart intellij

cfleming08:02:07

@moizsj: IntelliJ should take some automatic thread dumps when that happens, can you check, and if there are any file an issue and attach them? https://intellij-support.jetbrains.com/hc/en-us/articles/206544899-Getting-a-thread-dump-when-IDE-hangs-and-doesn-t-respond

moizsj09:02:48

@cfleming: yup found the thread dump

cfleming09:02:54

@moizsj: Great, thanks.

imre09:02:13

speaking about freezes I had IntelliJ freeze on me sometimes when an expression in the repl returned a giant map

imre09:02:32

if that's new I can try and get a thread dump as well

imre10:02:18

I seem to be unable to produce it now, maybe something has changed in the ide or the libs I'm using

imre10:02:27

if I come across it again I'll let you know

cfleming10:02:56

I fixed a bunch of stuff with the REPL a while back (like 3 months or so). That might have been it.

imre10:02:09

yeah, most likely

imre10:02:17

good to know simple_smile

arijun18:02:43

what's the sop for making a project with boot in cursive?

arijun18:02:10

should I just make a build.boot and then run the task at https://github.com/boot-clj/boot/wiki/For-Cursive-Users

cfleming21:02:00

@arijun: Yes, that’s as good as it gets right now unfortunately.

arijun21:02:35

is there any way to get it to understand the build.boot? it says things like go-loop cannot be resolved, even though I have it required

arijun21:02:23

(it also says that about boot's deftasks, but I assume there's nothing to be done about that)

cfleming23:02:51

@arijun: Hmm, that’s probably because build.boot isn’t under a source root. What I do with Leiningen is just turn off all the warnings for project.clj, but with boot that would mean you’d get no code assistance either. Boot is tricky 😞

jaen23:02:22

^ yep, the lack of code completion and having symbols coloured as unknown is certainly vexing.

jaen23:02:54

On the flipside - it forces you to move as much logic as you can outside of the build.boot file so you can get completion

jaen23:02:01

And leave it only for task composition.