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`.
Alex J Henderson 2020-09-06T10:16:50.153600Z

Has there been a thought about making use of the VsCode Notebook API with Calva? I have looked at clojupyter but it doesn’t provide the full blooded Clojure editing experience that calva/paredit does. https://code.visualstudio.com/api/extension-guides/notebook

2020-09-06T13:55:50.154600Z

Hi, does Calva support intellisense for the js/ namespace?

pez 2020-09-06T14:09:32.156Z

Yes if you have the Enable JSCompletion setting on, it should.

pez 2020-09-06T14:11:09.157400Z

@jahenderson777 I haven't looked deep enough at the Notebook API to tell if it would enable us to have Calva Paredit enabled there. But that would be cool.

2020-09-06T14:17:06.157900Z

That flag is on by default. I am not getting any completion for js. Using shadow-cljs btw. Any hints as to what the issue could be?

pez 2020-09-06T14:32:41.158100Z

Not really. All I find when searching for it is this: https://github.com/rksm/clj-suitable/issues/2#issuecomment-578447046 which says to get in contact with me... But checking that setup example for CIDER it looks to me like it should work with Calva as well... Do you see any error messages anywhere?

2020-09-06T14:42:32.158400Z

no erros, just shows "no suggestions"

2020-09-06T14:51:54.158600Z

I had a similar issue when I was using emacs/cider. A change in the shadow-cljs API seems to have broken suitable.

2020-09-06T14:52:22.159100Z

Could this be causing the same issue also in Calva?

pez 2020-09-06T15:21:57.159300Z

Calva i mainly just using cider-nrepl, so yes. Too bad, but with all those bright minds involved, I think a solution will be crafted.

2020-09-06T15:26:13.159500Z

Ok, thanks

beders 2020-09-06T17:38:16.163300Z

hello there. I"m trying to set up a complete clojure beginner with VSCode and Calva but i'm already failing at basic tasks 🙂 (I'm using Cursive in my day to day) It would be really helpful if the calva documentation had minimal working examples of project.clj and/or deps.edn That would make first time users and clojure beginners more successful right out of the gate. For example: I have this in my deps.edn: {:paths ["src"]} but can't jack-in - the expectation being that a REPL would fire up. Just a Sunday morning suggestions 🙂

beders 2020-09-06T17:46:51.164200Z

it looks like the minimal viable deps.edn is:

{:paths ["src"]
 :aliases {}}
jack-in won't work without the empty aliases map

pez 2020-09-06T18:15:09.165300Z

Please file an issue. Or two. One about the docs and one about the requirement on aliases, which I think is not necessary.

❤️ 1
beders 2020-09-06T22:01:21.165900Z

thanks, also became a sponsor. Keep up the great work!

❤️ 1
bringe 2020-09-06T23:31:35.166300Z

I've added you to the Calva Fans section of the readme 🎉. (Will remove though if you don't want to be on there). Thanks again!