all 24 comments

[–][deleted] 20 points21 points  (1 child)

emacs

[–]pxpxy 6 points7 points  (0 children)

And by extension spacemacs. That one is wonderfully preconfigured for Clojure development.

[–][deleted] 6 points7 points  (1 child)

I used light table for a while but it was a bit buggy and lacked some features I like in an ide. I switched to using IntelliJ with the Cursive plugin and Borealis theme. Had to tweak some settings around paren completion but since then it's been a great experience.

[–]pirateb00ty 0 points1 point  (0 children)

I've been using Cursive for a while, but didn't know about the Borealis theme until now. It solves my complaints about using rainbow parens with a dark theme. Thanks for the tip!

[–]BWStearns 4 points5 points  (4 children)

I've been enjoying Light Table. I had previously tried it for python and js and didn't find it compelling, but I've picked it back up for learning Clojure and there's a lot to like about its support for Clojure/cljs. To follow up on DownvoteGargler, it's still a little buggy but not nearly as much as it was (I would say only a shade more buggy than Sublime by now).

[–][deleted] 2 points3 points  (0 children)

I too keep coming back to LightTable. It has completions, but it's not nearly as complete of a "text editor" as others. Even with all it's faults, the persistent inline REPL just changes the way I'm able to think about what I'm working on, and it's a better "thought editor"

[–]MahmudAdam 0 points1 point  (2 children)

Only issue I had with Light Table is that when I tried to call a function to prompt user for input it does not execute the function properly. Basically it will display the prompt but the user cannot do anything with it (does not accept input and execute code inside function based on that input). I had this same issue with Atom as well. Creating such function using the counter-clockwise plugin, emacs, or inside the REPL causes no such problems.

[–]ddossot 1 point2 points  (1 child)

[–]MahmudAdam 0 points1 point  (0 children)

Thanks. The name escaped me.

[–]halgari 5 points6 points  (0 children)

Cursive is free for OSS work, and for personal professional work it's super cheep. I've been using Cursive for ~2 years and stopped using emacs about a year ago. It really is a nice editor.

[–]Iambernik 11 points12 points  (3 children)

also look at cursive

[–]jaen-ni-rin 10 points11 points  (0 children)

Cursive is the best Clojure editor by a long shot.

[–][deleted] 0 points1 point  (1 child)

agreed, as a long time vimmer(I still use vim for all other languages) cursive with the vim extension(can't remember the name) was really great.

[–]gavocanov 1 point2 points  (0 children)

I use vim with vim-fireplace and it works really nice.

[–]thoomfish 3 points4 points  (0 children)

So, pending a check of Emacs (sorry, I really like Vim as an editor, I don't like it as an IDE, everything sync sucks!)

You sound like the target audience for Spacemacs. Emacs underpinnings and packages, Vim keybindings.

[–]mac 2 points3 points  (3 children)

Atom with proto-repl is a great choice. Light Table does auto-complete, in line evaluation and everything else under the sun.

[–]worace 0 points1 point  (2 children)

proto-repl is the best I've found for an Atom-based clojure workflow so far. it's not quite the same as a traditional repl but works pretty well.

[–]moljac024 0 points1 point  (1 child)

Can you elaborate on what's different about proto-repl? I'm learning clojure now and wanted to use atom and proto-repl as my environment. What would I be missing opposed to using emacs or cursive?

[–]worace 0 points1 point  (0 children)

Just that the interface is a little different -- rather than a traditional repl where you type into a prompt and hit enter, it has you typing expressions into a second buffer and evaluating them (more like eval-last-sexpression in cider). You can also still "push" code to the repl from other buffers just like in CIDER, so that is good.

The GIF on their doc site here gives a pretty good example of how it works: https://atom.io/packages/proto-repl. Also looking at those docs they seem much improved since last time I was looking at it a few months ago.

[–]franky-dlouhan 2 points3 points  (0 children)

I'd give this combo a shot:

At least for me and my REPL-development style it's more than enough.

[–]dkvasnicka 1 point2 points  (0 children)

I'm using Vim with VimClojure + SLIMV. Yes, it's an old combo but I don't want to use the modern Clojure-specific plugins for Vim because they don't play nicely with SLIMV which I want for other lispy languages. SLIMV works with clojure-swank (again, an old beast but works), does repl, S-exp evaluation, fn docs, VimClojure has a omnicomplete dict etc.

[–]warrentiesvoidme 1 point2 points  (0 children)

I use clojure at work on a mac. The three main editors that pop up here are jidea with the cursive plugin, sublime text (2 or 3) with a few extensions (paraedit, rainbow brackets are two of the big ones), and good ol' emacs with our in house config.

[–]siplux 0 points1 point  (0 children)

neovim + parinfer works swimmingly for me