Fork me on GitHub
#cursive
<
2015-07-28
>
danielcompton00:07:47

A day or two ago I had a blue highlight around the REPL panel when my focus was there, but now I can’t seem to get it. Does anyone know what I need to do for that?

danielcompton00:07:15

dnolen [10:55 AM] @shofetim: I’ve been doing Clojure for 7 years (edited) dnolen [10:55 AM] Cider went through a terrible unstable phase and was behind swank-clojure by 3 years in terms of features dnolen [10:55 AM] never had a debugger that ever worked dnolen [10:56 AM] IntelliJ has world class JavaScript support, Cursive has accurate Clojure debugging, eval in frame, YourKit integration, Node.js standard library indexing, trivial to index Google Closure dnolen [10:56 AM] could go on forever really dnolen [10:56 AM] it makes what I was doing in Emacs look primordial (edited)

tbrooke14:07:57

Can I use Cursive with Webstorm if I want the additional javascript support?

cfleming14:07:03

@tbrooke: Not right now, but hopefully soon.

cfleming14:07:21

The problem is that Webstorm doesn’t provide the Java support that Cursive depends on.

cfleming14:07:29

But in v15 there’s a bunch of work going on to make some of the semi-built-in plugins (like Java) more modular, which will mean you’ll probably be able to install a Java plugin (or series of plugins) into Webstorm which will allow Cursive to work there.

cfleming14:07:46

That’s a 3-month or so timeframe I think.

cfleming14:07:19

JetBrains are interested in doing that to support JRuby in RubyMine, amongst other things.

tbrooke14:07:13

@cfleming I guess you could use Ultimate - but that seems like a lot of overhead if you are just doing clojure, clojurescript and some frontend stuff

cfleming14:07:43

Right, although if you turn off all other plugins what you end up with is pretty much Webstorm.

cfleming14:07:48

The main issue there is cost.

james14:07:36

@cfleming: Hi Colin, is it still looking promising for inline code evaluations (à la Light Table) in the IntelliJ 15 version of Cursive? I’ve been looking at the "noticeable changes" list for the EAP and have been struggling to find a feature that looks like it will help.

cfleming14:07:45

@james: I’m not sure, I have to get a hold of the Swing guy at JetBrains. I’ll write to him now and see what he thinks. If not I’m going to investigate at least making the single lines clickable so they pop up a tree view or something.

james15:07:19

@cfleming: Cool. I’m looking forward to seeing what he says, and what you’ll come up with. simple_smile

cfleming15:07:03

@james: I’m looking forward to what he says too simple_smile

Joe R. Smith21:07:42

oh yes the latest cursive update lets me slurp into a pair of double quotes. simple_smile

danielcompton21:07:59

@cfleming: should you be able to splice a string into a symbol?

danielcompton21:07:15

That behaviour surprised me when I did it

cfleming21:07:01

@solussd: Yeah, there’s an issue with whitespace but it’s still pretty nice

cfleming21:07:19

@danielcompton: Do you have an example of what you mean?

Joe R. Smith21:07:58

thing-i-want-in-string “” -> "thing-i-want-in-string"

Joe R. Smith21:07:33

oops, that was a question for daniel

Joe R. Smith21:07:40

btw, hey daniel!

danielcompton21:07:13

[“cursi|ve”] “Splice sexp” [cursi|ve]

danielcompton21:07:05

Where I expected [“cursi|ve”] “Splice sexp” “cursi|ve”

cfleming21:07:27

No, I’d expect what you got.

Joe R. Smith21:07:29

I expect the former

Joe R. Smith21:07:41

string literals are forms

cfleming21:07:54

If the caret were positioned at the start of the string (before the quote) you’d get what you expected.

danielcompton21:07:59

sure, makes sense

danielcompton21:07:11

just checking, I could see it going either way

cfleming21:07:33

Right, there was an issue to allow “foo b|ar baz” to splice to b|ar, which AFAIK is what Emacs does