Fork me on GitHub
#calva
<
2018-08-24
>
snowell15:08:52

Any ideas on how to get VSC to recognize that (myns/myfn is a function call the same as the built-in ones (e.g., (defn)? The fact that it doesn't see them as the same also messes with my precious formatting 🙂

snowell15:08:23

(let [v 42]
  This is the right place)

(clojure.string/split (str "um "
                       "This is not the right place"))

pez16:08:19

What is the right place for the second one, would you say?

pez16:08:01

Not sure I follow what is the first problem...

snowell16:08:21

Ugh I was getting fancy

snowell16:08:42

(s/fdef myfn
        "goes out here")

snowell16:08:58

I would think the second line should be 2 chars in, right under s/fdef

snowell16:08:17

I could also be completely wrong

pez16:08:54

I think that at least the community standards disagree with you. 😀

snowell16:08:54

And I definitely allow for that possibility 🙂

pez16:08:43

I'm on the move, so can't check, but Calva is using clj-fmt which is pretty community standards compliant.

snowell16:08:44

No, I believe you. I've been flipping around between languages so it's hard to keep up with standards

pez17:08:39

Yeah, it is. In any case, Calva is an opinionated formatter. Trying to help the community standards prevail.