This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-08
Channels
- # announcements (2)
- # aws (1)
- # beginners (134)
- # calva (26)
- # cider (48)
- # cljdoc (41)
- # cljs-dev (12)
- # clojure (178)
- # clojure-brasil (1)
- # clojure-europe (16)
- # clojure-italy (30)
- # clojure-nl (13)
- # clojure-spec (118)
- # clojure-uk (81)
- # clojurescript (209)
- # community-development (77)
- # cursive (7)
- # datomic (23)
- # duct (6)
- # emacs (15)
- # events (2)
- # figwheel (13)
- # figwheel-main (18)
- # fulcro (4)
- # jackdaw (4)
- # jobs (6)
- # jobs-discuss (6)
- # kaocha (2)
- # lein-figwheel (3)
- # off-topic (4)
- # other-languages (22)
- # pathom (2)
- # pedestal (9)
- # perun (10)
- # portkey (1)
- # re-frame (41)
- # reagent (6)
- # reitit (4)
- # remote-jobs (1)
- # ring-swagger (6)
- # rum (5)
- # shadow-cljs (300)
- # sql (3)
- # test-check (6)
- # testing (7)
- # vim (1)
- # yada (9)
@kana , I'm sorry, Calva doesn't load the namespaces it is told to run the tests for. So you'll need to load them yourself for now. (It finds them the way you are guessing there, though.)
Okay, but what can I do right now for running tests on save? Maybe require test-module or something like this?
@pez there's a flag you can send to cider for any var query which will tell it to load project namespaces.
Is there (or could there be) "Calva: Evaluate current top level form in REPL terminal" but a version that doesn't print all of the evaluated code?
When applied to a selection (which it does currently work for, which is great), it could print all values (preferred, I think), or only the final one.
I like to frequently reload the whole file and then work in the repl or evaluating things from the editor with the results going to the repl (not inline)
Especially if the file is big, it's slow and messy to print all of the code in the repl
Looking for something like "send result of evaluation to REPL", which I think is a more standard option (or at least the one I've always used)
@lspector Which version of Calva are you using? I thought the last one had stopped reporting the form it was evaluating.
Interesting. That is the latest published version. Maybe I am not following what you are suggesting…
what i'm looking for is a way to send the evaluated result of the selected text to the REPL, without sending the code