Fork me on GitHub
#cursive
<
2016-11-28
>
danielcompton00:11:26

Not sure why, but after updating to 2016.3 I needed to re-enter my Cursive license

danielcompton00:11:45

Ah, I had already run 2016.3 so it didn't offer to transfer my preferences

lsenta06:11:39

@cfleming here’s what I had with the lein project

lsenta06:11:50

To answer your question, I’m pretty sure even if I learn lein & cljsbuild inside out, there’s no way I can get cursive to do what I want.

lsenta06:11:29

Now, I moved to boot: I use the generate plugin to produce a project.clj, obviously it’s even worse since most of the paths are computed at runtime.

lsenta06:11:44

I couldn’t find a reference to :source-dirs in the doc, is the regular way to do this is to throw everything under :source-paths?

lsenta07:11:54

clj, cljs, sass files, externs, and everything else?

pupeno07:11:38

The latest version of Cursive seem to get very confused when sources point to a checkout directory.

yonatanel07:11:22

This is probably a newbie thing but I turned on slurp and now ctrl+left/right moves whole sexprs. In the Clojure Keybindings settings none of the bindings are checked. Previously some were.

cfleming08:11:32

@lsenta Yes, sorry - :source-paths and :test-paths is what you want. There’s also :java-source-paths if that’s relevant (https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L295-L298)

cfleming08:11:35

Lein does include the concept of resource paths, but basically treats them the same as source paths anyway IIRC (I’d need to check that to be sure)

cfleming08:11:03

And yes, your problem with boot there is why boot support is so hard to add.

cfleming08:11:54

If you can’t get Cursive to do what you want, I’d like to understand why.

rauh08:11:55

So I disabled "Save files on frame deactivation" so figwheel would NOT kick in. But switching over to the REPL frame and it still saves & reloads.

rauh08:11:23

Already restarted IJ

lsenta09:11:32

@cfleming - lein: I have to duplicate all my paths (from cljsbuild & sass), I’m stuck with your definition of resources, I’m pretty sure I can’t define test resources - boot: all of the above + the need to write some generation script on top of what already exists

lsenta09:11:20

What I don’t understand is that wether it’s lein+plugins or boot, making sense of the paths looks like solving the halting problem

lsenta09:11:13

While a checkbox [ ] sync marks with project.clj would be just fine

lsenta09:11:22

FWIW, I’ve been doing this for 6+months, I’m asking only now that I moved to boot and cursive trash 100% of the information I want

lsenta09:11:38

I’d be surprised to be the only one

imre11:11:31

anyone here using idea 2016.3? any nice things in there for us cursive users?

ricardo12:11:51

@imre: I am, but haven’t noticed anything in particular (haven’t done much digging, though). No problems either.

yonatanel14:11:50

@cfleming If I send a command to REPL before it finish initializing, I get this:

Error evaluating - class java.net.SocketException: Socket closed
Exception starting REPL: java.lang.InterruptedException
Process finished with exit code 137 (interrupted by signal 9: SIGKILL)

imre14:11:52

thanks @ricardo I'll try it 🙂

cfleming15:11:22

@imre It looks a little nicer, but there’s nothing specific in there yet for Cursive. I’m planning to add support for the parameter hints: https://github.com/cursive-ide/cursive/issues/1596

cfleming15:11:34

But it works fine, no issues that I’m aware of.

cfleming15:11:35

@lsenta You don’t have to duplicate your cljsbuild paths, Cursive will pick those up. You only have to add any source paths that are missing to that list.

gjnoonan16:11:10

@imre I’m also running 2016.3, no issues thus far

gjnoonan16:11:21

@cfleming that would be really nice 🙂

imre16:11:34

thanks all, downloaded and trying it now 🙂

imre16:11:44

UI does look a tad nicer

imre16:11:15

been using fira code for a while, good to see that integrated by default

gjnoonan16:11:16

Yeah, I tend to use Hasklig however

yonatanel16:11:18

What's your assoc indentation setting?

gjnoonan17:11:56

@cfleming I’m starting work on a Plugin to add datomic support to IDEA’s database tools, just checking you don’t have something for this in the pipeline before I began

cfleming17:11:39

@gjnoonan No, I don’t have anything concrete planned