Fork me on GitHub

ClojureDocs examples have stopped showing up for me. Are there any known issues that would cause that?


@flowthing Not that I’m aware of. If you look under Preferences | Languages &amp; Frameworks | Clojure what do you see under Documentation Options?


Screenshot 2019-05-29 at 15.16.59


I’ll try a different project.


Never mind, I’m an idiot. I was editing a ClojureScript file. facepalm Sorry for the noise.

Jakub Holý (HolyJak)19:05:43

How do I get Cursive to automatically align map values, binding righht sides etc. to the same column? It doesn't do that automatically and Reformat Code doesn't help either. I.e. not this:

let [{:keys [index-path create?]} {:index-path "index", :create? true}
        analyzer (StandardAnalyzer.)
        iw-cfg (IndexWriterConfig. analyzer)
        idx-dir (FSDirectory/open (Paths/get index-path))
        idx-writer (IndexWriter. idx-dir iw-cfg)]
but this
idx-dir    (FSDirectory/open (Paths/get index-path))
idx-writer (IndexWriter. idx-dir iw-cfg)]))


Are you perhaps seeing the destructuring part unaligned, and the rest aligned? This is:

👍 4

Try Preferences -> Editor -> Code Style -> Clojure -- General tab -- “Align let-binding values”

Jakub Holý (HolyJak)20:05:01

Thanks! I tried that but Reformat Code still does not fix the alignment... 😞


Weird, works fine for me.


Hello, I have been having issue where running repl with cursive results in

Error: Could not find or load main class clojure.main
Exception starting REPL: java.lang.InterruptedException
Running repl in console lein repl and cider-jack-in working fine. Issue started happening after upgrading to Mojave


@holyjak That should definitely work - I haven’t heard any other reports of that being broken.

Jakub Holý (HolyJak)10:05:04

thx, I will look more into it, perhaps I was doing something wrong.


@simon.orlovsky That’s very odd. Do you get anything else in your log? Help | Show log in Finder/Explorer


@cfleming all I get is

2019-05-29 16:56:13,182 [446250485]   INFO -            #cursive.repl.nrepl - Shutting down REPL executor


Also the clojure repl configuration for intellij has a red x