This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-03
Channels
- # announcements (1)
- # asami (13)
- # babashka (14)
- # beginners (58)
- # calva (49)
- # cljs-dev (6)
- # clojure (99)
- # clojure-europe (28)
- # clojure-gamedev (4)
- # clojure-nl (19)
- # clojure-spec (4)
- # clojure-uk (39)
- # clojured (5)
- # clojurescript (39)
- # code-reviews (3)
- # conjure (4)
- # cryogen (12)
- # cursive (21)
- # data-science (4)
- # datalog (1)
- # datomic (16)
- # duct (4)
- # events (1)
- # fulcro (6)
- # graalvm (1)
- # graphql (1)
- # jobs (13)
- # jobs-discuss (23)
- # kaocha (2)
- # lsp (15)
- # malli (24)
- # missionary (6)
- # off-topic (21)
- # polylith (75)
- # releases (2)
- # remote-jobs (4)
- # shadow-cljs (47)
- # sql (35)
- # vim (10)
- # xtdb (4)
@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.
Is it safe to migrate to the newest IDEA 2021.1.2 (i.e. no issues with Cursive)?
I'm using IDEA 2021.1.2. No errors found, yet.
Ok. Thanks!
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)
Is there a way to start up a standalone Clojure REPL, without having an open project?
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.
So the more complete question is whether we can start a Cursive Clojure REPL in Cursive without a project.
More generally, there鈥檚 basically no way to do anything in IntelliJ without a project. The only thing you get without a project is the welcome splash screen.
The only thing that鈥檚 really possible at the moment is the new LightEdit mode (https://blog.jetbrains.com/idea/2020/04/lightedit-mode/), but as far as I know that鈥檚 pretty experimental at this stage.
Thanks @U0567Q30W. 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.
I鈥檓 actually not sure, I haven鈥檛 tried LightEdit yet, I鈥檓 not sure if Cursive requires anything to support it. Why do you not want a project?
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.