cursive

Issues at: https://git.io/cursive-issues
onetom 2021-06-03T06:08:00.079200Z

@rob370 i did setup reveal in a project which im using from cursive, but hasn't actually utilized the reveal window a lot, because the extra mental overhead of switching to the reveal window, instead of just looking at the built-in cursive window, somehow is too much. otherwise, reveal seems to work just fine... don't forget to create a .nrepl.edn next to your deps.edn, containing something like {:middleware [vlaaad.reveal.nrepl/middleware]}. then if you are annoyed by the opening reveal window, u can just turn it off by #_ commenting the vlaaad part.

ikitommi 2021-06-03T10:00:15.080600Z

is there a way to define a new qualified keyword source (e.g. like s/def is?)

🎯 1
kari 2021-06-03T12:46:24.081400Z

Is it safe to migrate to the newest IDEA 2021.1.2 (i.e. no issues with Cursive)?

mike_ananev 2021-06-03T12:53:27.081900Z

I'm using IDEA 2021.1.2. No errors found, yet.

kari 2021-06-03T12:57:34.082100Z

Ok. Thanks!

tamasjung 2021-06-03T19:02:38.086400Z

Could anybody confirm if macro expansion is working/broken with recent versions? (tried several combinations, currently Cursive: 1.10.3-eap1-4-g139ba476, IJ 2021.1.2, Big Sur, for me the macro expansion window opens but throws a StrackoverflowError and none of the components, like toolbar buttons respond to mouse click)

imre 2021-06-03T19:19:42.086500Z

Tried just now, it doesn't work.

imre 2021-06-03T19:19:56.086700Z

I got a NRE

imre 2021-06-03T19:20:08.086900Z

It's been in limbo for quite a while now tbh

đź‘Ť 1
lspector 2021-06-03T20:06:34.087700Z

Is there a way to start up a standalone Clojure REPL, without having an open project?

lspector 2021-06-04T15:49:20.119800Z

Thanks @cfleming. Should it be possible for me to get LightEdit mode working with a .clj file now? I tried dragging a projectless .clj file to IntelliJ in my MacOS dock, and it opened but I wasn't able to evaluate anything.

cfleming 2021-06-07T03:15:39.123200Z

I’m actually not sure, I haven’t tried LightEdit yet, I’m not sure if Cursive requires anything to support it. Why do you not want a project?

lspector 2021-06-08T17:04:46.165500Z

I am trying to provide the simplest, most friction-free way for newcomers (often undergrad CS majors who have never seen Clojure before) to get from zero to a working REPL, so they can start to learn Clojure and gradually come to understand enough to take advantage of more of Cursive's features. I know it may be hard to grok for most people here, but the process of creating a project and starting a REPL can be pretty confusing to the newcomers, and while the docs are excellent in some respects they make lots of assumptions about background knowledge and present more information than is helpful to these new users, e.g. about different kinds of REPLs, Run Configurations, build tools, etc. The closer it can get to "install IDEA and then Cursive, and then select X to start a REPL" the better it will be. Separately, I often want a REPL for myself to do a quick calculation or play with an idea, and creating/opening dummy projects for this sort of thing is a bit of a drag. But the real thing I'm after here is onboarding new users.

lspector 2021-06-08T17:07:30.165700Z

Of course there are other ways to get a quick REPL, but they mostly have annoying weaknesses (e.g. for multiline input), or they're not trivial to start up, and in any event they're not on the path that I want my students to be on, which is the path to using Cursive.

2021-06-03T20:22:33.088Z

depends on what you want. The clj command does that.

lspector 2021-06-03T20:39:55.088200Z

I meant in IntelliJ/Cursive. Is there a way to do that there?

2021-06-03T20:42:12.088400Z

Ah, I didn’t notice the room I was in. Not that I know of.

lspector 2021-06-03T20:45:11.088600Z

Huh -- yes, I see I can do it in Cursive's Terminal pane (click on the terminal tab and then type clj). But I assume this is just an OS terminal so clj would have to be installed, and we'd have none of the benefits of being in Cursive.

lspector 2021-06-03T20:46:09.088800Z

So the more complete question is whether we can start a Cursive Clojure REPL in Cursive without a project.