Fork me on GitHub
#cursive
<
2016-05-12
>
kenny02:05:03

Any update on Cursive support for boot?

cfleming02:05:02

@kenny: It’s still on the list, but no movement, sorry.

cfleming02:05:06

@rauh: I would really, really like to do that. Unfortunately, there isn’t a good way to do it.

cfleming02:05:36

Parinfer is driven by changes to the document - I get a notification when that happens, but it’s too late to modify the doc when the notification comes in.

cfleming02:05:28

I can hook into the start of an action, but there’s no way to know which actions will modify the document - pretty much everything is an action, including all navigation (moving around a file, or switching to another file).

cfleming02:05:55

So even if I defer to that point, it will still run when it shouldn’t.

cfleming02:05:21

I’m planning to try a parinfer variant which only works locally, i.e. only on the part of the document you’re actually working on.

cfleming02:05:35

I’m not sure if it’s possible, but it would fix a lot of these problems.

danielcompton03:05:12

When I try to start a Yourkit profiler from IntelliJ REPL

danielcompton03:05:45

I get Error running REPL for <myapp>: Error creating JavaParameters

danielcompton03:05:56

That is a familiar error, but I’m not sure what to do about it?

danielcompton03:05:49

I can create a normal REPL fine

cfleming03:05:19

That usually means that you don’t have an SDK defined for your project.

cfleming03:05:18

But if you’re using Yourkit it might mean something else.

cfleming03:05:31

Actually, I’m going to see if I can fix that message right now.

cfleming03:05:02

Do you see anything more than that message if you look in the log?

cfleming03:05:17

I thought there was an issue related to this, but I can’t find it

danielcompton03:05:19

Nope, that’s all that’s in the event log

cfleming03:05:38

That’s not very useful

danielcompton03:05:44

My thoughts too

cfleming03:05:48

Looking at the code, IntelliJ is swallowing that error.

danielcompton20:05:17

Is it possible to show source files in a project while Cursive is downloading deps for the first time?

danielcompton21:05:57

At the moment, src and test folders aren’t shown until all deps are resolved

cfleming22:05:49

@danielcompton: Hmm, that might be possible. I’d have to check how much hacking of lein that would involve.

cfleming22:05:57

Could you file an issue for that?

dimiter23:05:40

@cfleming: Are you giving any work to Boot integration into IntelliJ.

cfleming23:05:04

@dimiter: I’m thinking about it and I have it planned, but I haven’t actually made any progress on it, no - sorry.

dimiter23:05:18

Good enough answer 🙂.

cfleming23:05:41

Lots of people are asking for it, though, you’re not alone!