Discussion about all editors used for Clojure/ClojureScript

I’m using Mac with OSX 10.10.4, JRE and JDK already installed with 1.8 version


@sveri: thanks for your comment. my JAVA_HOME already in place. but still doesn’t work


I’m currently using zsh, not sure because of that ?

sveri 2015-06-15T07:52:33.001037Z

@long.clojure Sorry, I don't know anything about mac.


ahh.. it took me forever to figure out this, try many different methods but still doesn’t work. I think I might go with Vim

sveri 2015-06-15T07:57:50.001039Z

@long.clojure: can you ran javac from zsh?


Yes I can

sveri 2015-06-15T07:58:05.001041Z

what does echo $JAVA_HOME give you in zsh?


It gave me this /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home


I think it’s correct path

sveri 2015-06-15T07:59:06.001044Z

@long.clojure: Hm, I think it should point to: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk if I am guessing your path correct

sveri 2015-06-15T07:59:19.001045Z

Contents/Home looks weird to me, but, like I said, I never used Mac

agile_geek 2015-06-15T08:05:16.001046Z

@long.clojure: that path looks fine. Same as mine. I can start Light Table OK although I don’t use it (emacs). However, I think the Mac looks in /etc/launchd.conf and environment.plist if you are starting an App in the GUI. It probably only reads JAVA_HOME if running a command from terminal. However, this said, your default Java install should be set up correctly so not sure why Light Table is not working. Sorry not much help!


thanks @agile_geek, you remind me about some other thing. I will try that out. Light Table actually worked for me before. But it broken after I did the OS upgrade.

martinklepsch 2015-06-15T08:11:49.001048Z

@danielcompton: re comments, theres a slight difference between ; and ;; — usually one semicolon is used when theres something else on the line already. Did that in emacs for a while and was super confused why it’s indenting so weird

danielcompton 2015-06-15T08:20:58.001050Z

@martinklepsch: ahh, I think I had the same confusion when I was using emacs, solved it now!

bozhidar 2015-06-15T09:20:56.001051Z

@clojuregeek: your problem is definitely caused by the middleware not loading

bozhidar 2015-06-15T09:21:38.001052Z

as the profile settings look correct it might be that you have something that interferences with the middleware’s loading

bozhidar 2015-06-15T09:22:42.001053Z

do you have any other middlewares in your profile or project.clj?

bozhidar 2015-06-15T09:23:02.001054Z

btw, there’s also #C0617A8PQ and you can of course always report the problem on our issue tracker

chris 2015-06-15T11:11:39.001055Z

@long.clojure: iirc there is some bug with Java applications started from the gui that doesn't let them access the env variables (intellij suffers from this for sure). Presumably in light table there is some way to set the path manually? I would try that

rauh 2015-06-15T12:40:18.001058Z

@cfleming: Please consider https://readthedocs.org/ for documentation. The full text search (elasticsearch) is a huge help

cfleming 2015-06-15T12:41:30.001059Z

rauh: I’ll check it out, thanks

borkdude 2015-06-15T12:55:35.001060Z

in Cursive, it seems that when I have a broken file in terms of paredit, I cannot type a closing parenthesis.

borkdude 2015-06-15T12:55:45.001061Z

what is the solution? @cfleming

cfleming 2015-06-15T12:56:33.001062Z

borkdude: Currently it’s disabling paredit temporarily (in the bottom status bar) or cutting and pasting a closing paren

borkdude 2015-06-15T12:56:48.001063Z


borkdude 2015-06-15T12:56:57.001064Z

that was easy enough :simple_smile:

cfleming 2015-06-15T12:57:17.001065Z


borkdude 2015-06-15T13:03:14.001066Z

did connecting to a REPL from cursive recently change? I don't see an option in the menu anywhere

cfleming 2015-06-15T13:04:11.001067Z

borkdude: No, do you want to connect to a remote REPL?

borkdude 2015-06-15T13:04:17.001068Z


borkdude 2015-06-15T13:04:55.001069Z

I'm trying cursive out again, after a while of absence

cfleming 2015-06-15T13:04:58.001070Z

You want Run->Edit configurations, create a new Clojure->Remote REPL, and then add the details

cfleming 2015-06-15T13:05:23.001071Z

borkdude: Nice, let me know how it goes, I’m always interested in experience reports

borkdude 2015-06-15T13:05:55.001072Z

it works :simple_smile: sorry, I forgot how it worked

sveri 2015-06-15T13:40:10.001074Z

@borkdude: sometimes I copy & paste a paranthese or whatever, no need to use the mouse then.

clojuregeek 2015-06-15T13:51:24.001075Z

@bozhidar: thanks, I will do some more digging in my emacs .. usually when browse packages its like a kid in candy story, i’ll add several things and maybe not try them out right away and forget 😑

bozhidar 2015-06-15T14:22:26.001076Z

most likely the problem is not in the Emacs setup, but it the clojure/java deps/plugins you have

bozhidar 2015-06-15T14:23:11.001077Z

because the warning pretty much says that cider-nrepl hasn’t been loaded and since it’s in your profile

bozhidar 2015-06-15T14:23:23.001078Z

something else there or in the project itself is the problem

bozhidar 2015-06-15T14:23:43.001079Z

try connecting using a clean project and a basic profile with only cider-nrepl in it

borkdude 2015-06-15T14:27:20.001080Z

today I'm using emacs to write clojurescript and cursive for server side clojure: want to experience both :simple_smile:

bozhidar 2015-06-15T14:31:37.001082Z


bozhidar 2015-06-15T14:31:50.001083Z

I often say this - IntelliJ is my favourite IDE

bozhidar 2015-06-15T14:32:00.001084Z

the problem is that I don’t like IDEs that much :simple_smile:

bozhidar 2015-06-15T14:32:20.001085Z

but they definitely have a ton of perks

chris 2015-06-15T14:35:39.001086Z

I ❤️ intellij, but that might just because the alternative is eclipse

chris 2015-06-15T14:35:45.001087Z

(for java)

borkdude 2015-06-15T14:39:40.001088Z

I see editors and IDEs as tools, I'm not religious about it. Whatever gets the job done.

borkdude 2015-06-15T14:42:33.001090Z

@cfleming: is there a way to see the files that have function arity errors in the side bar?

cfleming 2015-06-15T14:51:42.001091Z

borkdude: You mean to have it marked in the project window?

borkdude 2015-06-15T15:00:58.001092Z


erichmond 2015-06-15T20:34:08.001094Z

@cfleming: if we have a cursive issue, would you prefer we mention it here? or on the mailing list?

erichmond 2015-06-15T20:34:15.001095Z

or on the github issue tracker?

sveri 2015-06-15T20:42:44.001096Z

@erichmond: from my experience he is very responsive on the github tracker :simple_smile:

sveri 2015-06-15T20:43:38.001097Z

apart from that, other can google and search that, so, it surely is better to have it centralized and one place to go, from my point of view, but, I am not cfleming, so, take it with a grain of salt 😄

erichmond 2015-06-15T21:04:19.001098Z

yeah, thats what I am thinking too

erichmond 2015-06-15T21:04:28.001099Z

I just want to do whatever helps his flow the best