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`.
borkdude 2020-09-17T08:37:53.283900Z

very cool, but how do I undo this?

😂 3
pez 2020-09-17T08:39:11.284400Z

Haha, Settings/Preferences -> Themes.

Alex J Henderson 2020-09-17T18:10:01.287Z

help, I've lost my intellisense in my shadow-cljs project with calva, any ideas? more details: created a new 'lein re-frame' project. When I jack-in I do momentarily get intellisense after the REPL prints "; Jack-in done." but it breaks when the terminal prints "{:app] Build completed."

pez 2020-09-17T19:01:49.288200Z

@jahenderson777 what command line did you use for creating the project? It will ease reproduction to know more exactly.

Alex J Henderson 2020-09-17T19:04:13.289Z

lein new re-frame intellisense-test +calva +kondo also tried lein new shadow-cljs intellisense-test

Alex J Henderson 2020-09-17T19:05:46.289300Z

I'm on calva 2.0.124

pez 2020-09-17T19:19:26.291200Z

Thanks. I get it to work by choosing: • Project type: Leiningen + lein-shadow • Start builds: app • Launch alias: No alias • Launch profile: dev

Alex J Henderson 2020-09-17T20:50:19.291600Z

Thanks for taking a look @pez, following those steps doesn't work for me though. It does the same thing, Intellisense works for about 5 seconds between 'jack-in done' and '[:app] Build completed.' thereafter it doesn't work

Alex J Henderson 2020-09-17T20:52:58.291900Z

(everything else works though, like Go to definition, live reloading, etc.)

pez 2020-09-17T21:03:12.292100Z

Ah, yes. There is something with the autocompletion. I think I remember something about shadow-cljs being updated in a way that broke js completions. Shouldn't be related, but anyway. If you try with a 2.9 version of shadow. do you still have the issues?

Alex J Henderson 2020-09-17T21:05:52.292300Z

yes, with shadow 2.9 it works fine

Alex J Henderson 2020-09-17T21:06:07.292500Z

thanks @pez

Alex J Henderson 2020-09-17T21:15:28.292700Z

works with shadow-cljs 2.9.9, breaks with shadow-cljs 2.10.0

Alex J Henderson 2020-09-17T21:16:20.292900Z

(still broken in 2.11.4)

pez 2020-09-17T21:19:32.293100Z

OK. It was reading the changelog for 2.10.0 that made me suggest 2.9: https://github.com/thheller/shadow-cljs/releases/tag/2.10.0

pez 2020-09-17T21:20:15.293300Z

I can't find an issue about it on github though. Maybe you should add one?

Alex J Henderson 2020-09-17T21:21:22.293500Z

happy to, what is it that you think is breaking underneath? (I'm not sure how the autocomplete/intellisense works)

Alex J Henderson 2020-09-17T21:23:56.293700Z

I'll ask over in the shadow-cljs slack channel

Alex J Henderson 2020-09-17T21:30:35.293900Z

Thomas Heller pointed me to https://github.com/rksm/clj-suitable/issues/15

pez 2020-09-17T22:38:38.294200Z

Right. Thanks for sharing!

pez 2020-09-17T22:42:14.294400Z

Remember that I said I thought the problem only related to js completions? Well, it sort of does, but if Calva does not try to do those completions, then cljs completions start to work. So disable the JSCompletion setting for this project and you'll only be missing the js completions.

👍 1
🙏 1
pez 2020-09-17T22:42:51.294600Z

(I just tried it, so I know what I am talking about. 😃 )