calva

Wednesdays you might find @U0ETXRFEW in the Gather Calva space. Invite is https://gather.town/invite?token=GZqrm7CR and the password is `Be kind`.
pez 2021-04-13T06:42:59.453400Z

This will soon be default with Calva Jack-in. But you can use it right now by temporarily changing your jack-in dependency settings. It would be nice if some of you tried that and let us know how you fare. Of course, if you use Calva Connect, you are encouraged to test this as well. 😃

pez 2021-04-13T13:29:33.453600Z

Please try this out, Calva and clojure-lsp friends.

3
2
❤️ 3
ericdallo 2021-04-13T13:30:46.454100Z

@brandon.ringe The way I implemented the custom snippets was a little tricky, It'd be nice to check if everything works on Calva side indeed

👍 1
pez 2021-04-13T14:24:41.454300Z

I don’t get any snippet completion. Do I need to do something to enable it? Or do we maybe need to do something in Calva to enable it?

ericdallo 2021-04-13T14:28:02.454500Z

the only validation clojure-lsp does, is the suggested by the https://microsoft.github.io/language-server-protocol/specification#textDocument_completion about checking if client has support for that via the boolean snippetSupport

ericdallo 2021-04-13T14:28:13.454800Z

you may need to check if you are sending that as true

pez 2021-04-13T14:43:54.455100Z

Will do. We might want to do this opt-in for the users.

👍 1
seancorfield 2021-04-13T21:36:09.458700Z

I noticed that indentation of multi-line docstrings changed recently. It used to be like this:

(defn foo
  "This is line one and when you press enter
  you got this indentation, aligned with the quote"
  [args]
  42)
but now you get this:
(defn foo
  "This is line one and when you press enter
   you get three spaces and you're aligned with the word instead"
  [args]
  42)
Is this a deliberate change and, if so, what is the justification for it?

seancorfield 2021-04-13T21:37:23.459600Z

(pretty much all the Clojure code I’ve seen uses that first indentation style so that’s why this stood out as a noticeable change and it “looked weird”!)

bringe 2021-04-13T21:52:51.459700Z

> justification No pun intended? 😄 Really though, I'm unaware of anything that changed that, but @pez might know since he's recently added some paredit changes/improvements.

seancorfield 2021-04-13T21:54:05.459900Z

No pun intended 😞

🙃 1