This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-08
Channels
- # alda (1)
- # announcements (18)
- # babashka (101)
- # beginners (110)
- # calva (17)
- # cider (53)
- # clara (18)
- # clj-kondo (26)
- # cljdoc (6)
- # clojure (152)
- # clojure-europe (9)
- # clojure-portugal (4)
- # clojure-spec (20)
- # clojure-survey (7)
- # clojure-sweden (10)
- # clojure-uk (10)
- # clojured (1)
- # clojurescript (29)
- # core-async (7)
- # cursive (4)
- # datomic (11)
- # defnpodcast (2)
- # dirac (1)
- # emacs (13)
- # events (2)
- # figwheel-main (1)
- # fulcro (1)
- # jobs (14)
- # jobs-discuss (17)
- # leiningen (2)
- # malli (1)
- # off-topic (74)
- # overtone (1)
- # pedestal (4)
- # planck (2)
- # re-frame (7)
- # reitit (4)
- # remote-jobs (4)
- # shadow-cljs (78)
- # slack-help (3)
- # spacemacs (56)
- # test-check (3)
- # tools-deps (6)
When printing to Calva repl i'm getting <repl#7>
before each line, ie
(print "test")
<repl#7>test
Is this a Calva thing (and how can i get rid of it ) or something else?
I think it might be a Calva thing... The way to get rid of it is by sending a PR. Or at least file an issue about it. It was a while since this was added, and I don't remember the rationale.
Alright, shall make one. It appears to be affecting :node-repl mostly... If I look closely, the printout side effect appears above the func. call line in the repl. (hmm:)
It's out-of-band prints. So when the evaluation is finised, but there are still printing side effects from it, they get printed like that.
Issue is done. Is it possible at all to address the out of band print outs and do you need a separate issue for this?
Calva causes my editor to be brutally slow on large files. I tried disabling auto-format but to no avail. I'm happy to change the code to resolve this because there is basically no competition in Clojure extensions so I really need Calva to work. Can someone give me some direction on where to look for what may be causing this performance hit?
Start switching off all calva.highlight
settings. I doubt that is the culprit, but we have to start somewhere. Also try if disabling clj-kondo
makes any difference. (Even more unlikely, but anyway.)
I use the VSCode from the Arch repo which has an issue that prevents me from debugging extension host
I'm on a time crunch to get something done now, but later I can try to use a different install to profile the extension and get a better handle on what the issue is
Is there something else special with the files? I am trying with clojure.core
and things are not blazingly speedy, but not super slow either. Even if I copy paste the whole file again, making a 15k line file, things still tug along…
The file contains the definition to a couple macros which are then used as almost every top-level form in the file. Other than that it's just a normal file. The main thing is while typing, the text input lags behind my typing by 2 seconds (and that lag grows as I continue typing and not waiting for it)