Fork me on GitHub
#cursive
<
2023-07-09
>
kennytilton11:07:03

Just curious, @cfleming. The CLJD compiler seems fine with the .cljc extension for CLJD source. Can you think of any "wins" in switching all my .cljd sources to cljc? Guessing that will not help with macro-genrerated macros being recognized.

cfleming18:07:41

No, it won’t. And in general CLJC is a bit more flakey in Cursive, I’m planning to fix that but have not got to it yet. If you don’t have a need to use it (i.e. you’re not sharing code with a Clojure server or something), I’d recommend leaving your code as CLJD.

👍 2
steveb8n19:07:24

I use cljc extensively and can confirm that it's a bit off but it's workable

AJ Snow18:07:30

formatting question consider the following case in a let binding

(let [variable-name-that-is-really-long
      (and
        is-zero?
        (not follower-number-is-zero?))]
"blah")
is there a way to auto indent variables on new lines? e.g.
(let [variable-name-that-is-really-long
        (and
          is-zero?
          (not follower-number-is-zero?))]
"blah")
I couldn't find an option in the formatting menu.

cfleming18:07:28

Hmm, I don’t think so, sorry.

AJ Snow18:07:16

no worries, just making sure. thanks!