This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-14
Channels
- # aleph (4)
- # announcements (1)
- # beginners (40)
- # calva (6)
- # cider (10)
- # clara (5)
- # cljdoc (24)
- # cljs-dev (2)
- # clojure (24)
- # clojure-italy (4)
- # clojure-uk (5)
- # clojurescript (13)
- # community-development (5)
- # core-async (7)
- # data-science (9)
- # datomic (2)
- # duct (12)
- # emacs (3)
- # events (1)
- # figwheel-main (2)
- # fulcro (2)
- # malli (1)
- # off-topic (1)
- # parinfer (1)
- # precept (6)
- # re-frame (27)
- # shadow-cljs (5)
- # sql (6)
- # unrepl (2)
first time, when I see an opacity on comment
, I was glad about it, cause now there is much easier for eyes to do not put an attention on comments in code. But after some time I find out, that a significant part of my work I type and eval code in comments, and theirs opacity is not good for continious work. But the solution comes instantly - make second different comment macro, that will not be opaque, and choose any your need in case 🙂
(defmacro comment- [& x] nil)
there is more to this. Calva specially allows evaluation of top-level forms that are inside (comment ...) I did you macro trick as well, only to find that out the hard way
I'm unable to use any connect options to stop something like (loop [x 0] (recur (inc x)))
. I would want not only to regain control of the REPL, but also to stop it from consuming CPU. In my workflow things like this (well, not exactly this, but long-running and potentially non-terminating processes) occur frequently. The only way I've been able to stop them is to quit/restart VSCode. More normally, I run a lot of things from lein run
shell commands rather than from within Calva, but that's a bummer.
I hear you about interrupt. And I need it myself. Please push for it and provide reasons on the issue on Github: https://github.com/BetterThanTomorrow/calva/issues/237 It's more visible there and maybe someone who want to help finds it and make the implementation. I won't have time for this until I have some idea on how to do it. And that might take some time, or I don't shower often enough.