This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-13
Channels
- # 100-days-of-code (5)
- # adventofcode (1)
- # announcements (8)
- # beginners (148)
- # boot (17)
- # calva (26)
- # cider (17)
- # cljdoc (2)
- # cljs-dev (55)
- # cljsjs (2)
- # clojure (198)
- # clojure-dev (11)
- # clojure-finland (1)
- # clojure-italy (23)
- # clojure-nl (6)
- # clojure-spec (44)
- # clojure-uk (148)
- # clojurescript (27)
- # clojutre (20)
- # core-logic (21)
- # cursive (12)
- # datascript (10)
- # datomic (33)
- # emacs (11)
- # figwheel-main (49)
- # fulcro (19)
- # graphql (2)
- # off-topic (48)
- # onyx (2)
- # other-languages (53)
- # pedestal (3)
- # reagent (75)
- # reitit (17)
- # rum (1)
- # slack-help (2)
- # specter (2)
- # sql (3)
- # tools-deps (24)
- # unrepl (4)
- # yada (1)
@pez were you able to find anything with the terminal showing up all the time?
@mattly I think I found the culprit! If you disable Calva: Sync Repl Namespace To Current File
in the settings, you shouldn’t get the REPL on tab switch anymore!
I can’t tell if this was recently enabled or not
@dijonkitchen: what you can do is to disable … yeah, you found it.
It was recently added. I will try to figure out if I can keep the terminal from popping up even with the feature enabld.
Thanks! Maybe just have it disabled by default until that’s figured out?
Interestingly enough, I think I’ve found another bug: my cljfmt
no longer runs on save… =(
I can’t get it to run at all anymore. Doesn’t seem intermittent.
Ah yeah, so it works for 100 lines, but not for 200 lines. Those don’t seem THAT big though, haha.
No, it really should work. Calva is using cljfmt
which isn’t super fast, but not all THAT slow either.
OK, so the problem is it doesn’t work for “large” files (aka over 100 lines) now.
So should this be an issue in cljfmt
?
hm, would disabling this setting make the behavior of evaling code from different namespaces work not as expected?
@mattly you will have to sync the repl namespace manually (Default key binding ctrl+alt+v alt+n
)
Also, it really only is about the Terminal REPL. I should change the description of the setting.
Eeek, that’s right, no good. Guess it’ll still have to be fixed.
Calva didn’t have this auto sync before. That’s why this popping up of the terminal started to happen.
The issue with the formatting on save is that VS Code gives up a bit too fast on the formatting.
Would linking into VSCode’s format on save be better?
Might not need to build your own
It is sort of linked there. But the actual formatting has to be done by something that understands how to format Clojure code.
So should this be an issue in cljfmt
?