Fork me on GitHub
#cursive
<
2015-11-24
>
danielcompton03:11:26

Opening a clojure project from the command line with idea . used to create a new Clojure module, but it doesn’t seem to anymore?

jaen13:11:38

Out of curiosity - recent discussion in #C03RZGPG3 made me wonder if there's any chance to support having some sort of tooltips for schema.core/defn that could explain the nominal schema inline? That is, if you have (defn function :- ReturnSchema [argument :- ArgumentSchema] ...) you could hover over the name and get it explained.

tbrooke17:11:42

I watched a guy on Emacs and he was evaluating functions and the value would return in the editor beside the function - as far as I know Cursive can’t do this - I thought this was cool but not necessary

cfleming21:11:10

@jaen: Oops, I replied over there, I’m reading out of order

cfleming21:11:21

But yeah, issue welcome for that.

cfleming21:11:42

@tbrooke: Yeah, there’s nothing like that yet, but it is planned.

cfleming21:11:11

@tbrooke: At some point I’d like to have LightTable-style in-editor eval, but that requires interaction from the IntelliJ editors. It’s there at the moment as you can see in the debugger, but only supports results on a single line. I’d hoped the improvements to that would make it into v15 but it looks like they didn’t.

jaen21:11:09

@cfleming: sure, I'll make an issue for that later

cfleming22:11:42

@jaen: Yes, that’s great, thanks. It’s a tricky problem, I’ll think about that.

cfleming22:11:20

One thing I didn’t demo at the conj was that the grammars are now displayed in the doc popup

cfleming22:11:42

They’re tricky to follow by eye, though - I’m still not sure what the best way to display them is.

jaen22:11:04

Is that in 0.170? I'm not sure I'm seeing that.

cfleming22:11:28

No, what I demoed at the conj isn’t in the public version of Cursive yet

cfleming22:11:48

I didn’t have enough time to get it polished, it’ll be in there soon.

jaen22:11:34

Gotcha. Cursive is still pretty awesome as-is. First thing that convinced me IDEs may not suck.

cfleming22:11:52

Thanks! Glad to be convincing simple_smile

cfleming22:11:03

Lots more nice things coming, too.

jaen22:11:02

Good to hear. Now I just have to start earning money again so I can compensate the awesome work you did P ;

jaen22:11:29

If not for Cursive debugger I might have put Clojure to the wayside again

cfleming22:11:06

Yeah, it helps a lot. I haven’t had time to investigate, but v15 might allow me to do expression-level debugging instead of line-level.

jaen22:11:17

That sounds nice

jaen22:11:03

Which reminds me, using remote debugger with JDPA sometimes starts being unresponsive when I evaluate something on a breakpoint. Is there any way to investigate what's causing it?

cfleming22:11:21

I’m not sure - the debugger is sometimes really slow in general, and I’m not sure how to investigate it.

cfleming22:11:48

I suspect it’s because Clojure generates so many classes, but I’m only speculating.

jaen22:11:07

I see. It's a bit vexing to be deprived of the debugger when it decides it won't be evaling, since it's one of the shiny things in Cursive. I hoped that maybe there would be some way to maybe help in debugging this.

jaen22:11:13

But i's probably all very non-trivial

cfleming22:11:36

The debugger is definitely non-trivial.

cfleming22:11:53

Additionally, most of the functionality is provided by IntelliJ and I don’t pretend to understand it.

cfleming22:11:03

I need to talk to the JetBrains debugger team about it.

jaen22:11:50

Yeah, hopefully they have some insight where to at the very least start looking, it would be cool to get it even more reliable. It's already come a long way since it was first introduced, I remember it being quite finicky back then.

cfleming22:11:11

Yeah, initially it barely worked at all.

cfleming22:11:18

Especially evaluation