editors

PJ 2021-07-21T00:15:44.038400Z

Hi #editors folks, I’m picking up Clojure, and am the point where I am moving from REPL prompt and lein nightlight to finding an editor that works for me. (I’m working through the course by @ericnormand, which is very good and structured, though it’s not cheap!) This editor question is turning out to be a lot more complicated… I’m inclining towards learning emacs or spacemacs, but is there a beginner tutorial or something you’d recommend? because the documentation is really overwhelming for beginners like me.

PJ 2021-07-21T00:18:01.041Z

Fyi i’ve also tried downloading Chlorine (i currently use Atom), and also IntelliJ Cursive, and it seems like everyone has a downside and learning curve. (Atom keeps crashing for me even before)

PJ 2021-07-21T00:18:33.042Z

I’ve also downloaded VS Code with Calva, but the VS Code interface really doesn’t gel with me.

seancorfield 2021-07-21T00:31:17.042600Z

I used to use Atom with Chlorine and it was rock solid for me -- on both macOS and Windows -- but I've switched to VS Code since then (due to the WSL2 support on Windows) and I have Calva installed but I use Clover for all my code evaluation -- which is Chlorine-for-VS-Code -- so I have Calva's nREPL UI disabled in the settings.

seancorfield 2021-07-21T00:32:47.043300Z

@peijing.teh What is it about VS Code's UI that you don't like? I felt it was almost exactly like Atom so it felt like a fairly easy switch for me...

seancorfield 2021-07-21T00:33:44.043500Z

(I used to use Emacs -- for many years -- but I got tired of dealing with the general old-fashioned nature of it, compared to modern editors)

seancorfield 2021-07-21T00:34:44.043700Z

The most popular editors for Clojure developers are Emacs, Cursive (IntelliJ), and VS Code and those are also the best-supported options, in terms of Clojure plugins.

seancorfield 2021-07-21T00:35:54.043900Z

There's a #spacemacs channel (and also an #emacs channel) where folks might be able to point you at decent beginner material -- but I generally advise not trying to learn Emacs while also learning Clojure 😓

👍 2
raspasov 2021-07-21T06:43:37.044100Z

I’ve been using Cursive for years (more or less since I started with Clojure 8 years ago), very happy with it.

👍 2
seancorfield 2021-07-21T06:55:22.044300Z

Yeah, I hear a lot of good things about Cursive, and @cfleming continues to do an amazing job maintaining it -- I just can't stand IntelliJ (and I've tried to like it, I really have, over the years). But for anyone who is comfortable with IntelliJ, yup, Cursive would be my top recommendation for Clojure.

🙌 1
PJ 2021-08-04T02:44:59.000600Z

Hi @mauricio.szabo, I finally managed to get Chlorine working (took a while to figure out key-mappings that didn’t conflict), and it’s working great on the latest stable version of Atom: no issues so far. Wanted to thank you for Chlorine! 🙏

PJ 2021-07-21T08:47:40.044800Z

Thanks @seancorfield! about not learning Emacs while also learning Clojure, duly noted: I am also sensing that doing both might be attempting to eat two elephants at the same time… Also noted on Cursive as a recommendation! (thanks too @raspasov!) On VS Code’s UI, it actually felt quite different from Atom to me. VS Code’s UI felt a lot more like a Microsoft product… (might be my residual allergic reaction mental association from growing up in the 90s…) Atom feels less corporate. I would continue using Atom, if it wasn’t crashing on me so frequently (regularly once every few days).

👍 1
mauricio.szabo 2021-07-21T12:20:40.045100Z

@peijing.teh I'm using Atom full-time, and not experiencing these problems. Want to try and troubleshoot it?

PJ 2021-07-21T12:55:12.048800Z

interesting! Thanks for sharing @mauricio.szabo Yeah maybe i’ll try doing that. Are you using a M1 chip?

mauricio.szabo 2021-07-21T13:19:12.049Z

No, I'm on Linux with x86-64...

👍 1
mauricio.szabo 2021-07-21T13:19:51.049200Z

Did you try any of the atom-beta or atom-nightly builds? I tested then recently, and they were incredibly stable

👍 1
PJ 2021-07-22T02:15:36.049700Z

Thanks @mauricio.szabo - will download and try the nightly build!

mauricio.szabo 2021-08-04T13:42:15.000800Z

@peijing.teh Great, I hope everything works fine for you! If you have any trouble, don't hesitate to ask (there's also a #chlorine-clover channel so you can ask there too)!

👍 1
🙏 1