very cool, but how do I undo this?
Haha, Settings/Preferences -> Themes.
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."
@jahenderson777 what command line did you use for creating the project? It will ease reproduction to know more exactly.
lein new re-frame intellisense-test +calva +kondo
also tried
lein new shadow-cljs intellisense-test
I'm on calva 2.0.124
Thanks. I get it to work by choosing: • Project type: Leiningen + lein-shadow • Start builds: app • Launch alias: No alias • Launch profile: dev
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
(everything else works though, like Go to definition, live reloading, etc.)
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?
yes, with shadow 2.9 it works fine
thanks @pez
works with shadow-cljs 2.9.9, breaks with shadow-cljs 2.10.0
(still broken in 2.11.4)
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
I can't find an issue about it on github though. Maybe you should add one?
happy to, what is it that you think is breaking underneath? (I'm not sure how the autocomplete/intellisense works)
I'll ask over in the shadow-cljs slack channel
Thomas Heller pointed me to https://github.com/rksm/clj-suitable/issues/15
Right. Thanks for sharing!
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.
(I just tried it, so I know what I am talking about. 😃 )