This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-09-27
Channels
- # announcements (1)
- # aws (8)
- # babashka (77)
- # babashka-sci-dev (8)
- # beginners (29)
- # biff (2)
- # calva (13)
- # cljs-dev (1)
- # clojure (42)
- # clojure-europe (205)
- # clojure-nl (1)
- # clojure-norway (5)
- # clojure-uk (4)
- # clojurescript (58)
- # conjure (9)
- # data-science (7)
- # datalevin (19)
- # datomic (3)
- # emacs (7)
- # fulcro (15)
- # gratitude (8)
- # lsp (52)
- # meander (3)
- # membrane (92)
- # off-topic (12)
- # re-frame (16)
- # reagent (4)
- # reitit (15)
- # releases (1)
- # sci (30)
- # shadow-cljs (34)
- # tools-deps (5)
- # xtdb (17)
Hello awesome Calva crowd! Question about "menuSelections" at https://calva.io/connect-sequences/ - I suppose that cljsDefaultBuild, cljsLaunchBuilds also apply to the shadow-cljs project type, not just raw cljs. Its that correct?
That's correct. Please help update the docs if they are not clear on this. I'm not even sure how this would work with ”raw cljs” (though I am pretty sure it works, haha). I've only used it with shadow and figwheel main.
I love how it enabled me to simplify my workshop setup https://github.com/holyjak/fulcro-intro-wshop/commit/b3de5c9f4a1fd278981a374089bcb01ee361b712 ❤️
Looks a lot like in my copy of the workshop 😃
"calva.replConnectSequences": [
{
"name": "Fulcro Intro Workshop",
"projectType": "shadow-cljs",
"afterCLJReplJackInCode": "(do (require-resolve 'fulcro-todomvc.server) (fulcro-todomvc.server/http-server))",
"cljsType": "shadow-cljs",
"menuSelections": {
"cljsLaunchBuilds": [
"todomvc"
],
"cljsDefaultBuild": "todomvc"
}
}
],
Damn, I completely forgot about that one! Btw you could simplify to ((requiring-resolve 'fulcro-todomvc.server/http-server)), which is a neat idea
Hello. It seems to me like Calva is running linter for every letter I type (so typing (defn create [config]
I receive 5 subsequent warnings on that line, one after another, for unused binding
c
, co
, con
, conf
, confi
and config
. This takes a second or two to complete, makes everything feel a little sluggish and it also seems like any completion prompts only appear after all the queued lints complete.
Is there a way to set a delay for a linter, so it will run only after I stop typing?
I'm unsure. What do you think, @U9A1RLFNV, @UKFSJSM38?
Pretty weird, is it possible to test with nightly clojure-lsp? We made some bug perf improvements and I'd like to see if changes anything for you