Fork me on GitHub
#cursive
<
2019-05-29
>
flowthing07:05:43

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

cfleming09:05:23

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

flowthing12:05:26

Screenshot 2019-05-29 at 15.16.59

flowthing12:05:46

I’ll try a different project.

flowthing12:05:34

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)]))

danieroux07:05:29

Are you perhaps seeing the destructuring part unaligned, and the rest aligned? This is: https://github.com/cursive-ide/cursive/issues/949

👍 4
manutter5120:05:23

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... 😞

manutter5120:05:31

Weird, works fine for me.

simon23:05:05

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

cfleming23:05:12

@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.

cfleming23:05:16

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

simon23:05:46

@cfleming all I get is

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

simon23:05:47

Also the clojure repl configuration for intellij has a red x