This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-06
Channels
- # adventofcode (99)
- # announcements (9)
- # aws (3)
- # babashka (22)
- # beginners (90)
- # boot (2)
- # calva (22)
- # cider (8)
- # clj-kondo (14)
- # cljsrn (20)
- # clojure (24)
- # clojure-europe (4)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-nl (83)
- # clojure-spain (1)
- # clojure-spec (46)
- # clojure-uk (43)
- # clojuredesign-podcast (70)
- # clojurescript (40)
- # cursive (25)
- # datomic (9)
- # duct (3)
- # emacs (14)
- # figwheel-main (2)
- # fulcro (61)
- # graalvm (8)
- # juxt (7)
- # kaocha (2)
- # leiningen (19)
- # luminus (5)
- # malli (58)
- # off-topic (4)
- # re-frame (11)
- # reitit (5)
- # rewrite-clj (3)
- # shadow-cljs (63)
- # sql (5)
- # testing (5)
- # tools-deps (26)
- # uncomplicate (2)
- # vim (4)
I don't seem to get code intel anymore.... but I had it a few days ago
but calva seems to be connected to the repl
given this sample
(defn abc "some docstring" [] 1)
(.log js/console (abc))
mousing over abc
does not show the docstring
if I select (abc)
and use the Eval current form to comment
command, it will be correctly evaluated
(defn abc "some docstring" [] 1)
(.log js/console (abc)
;; => 1
)
I'm not jacking in though, but rater I use Connect to running REPL
followed by Load current file and dependencies
What I do when using Connect is to first do jack-in, then ctrl+c that and copy the command line. Then i start the repl manually using the jack-in command line. Jack-in mostly is about getting the dependencies right. Which could be more or less difficult, depending on the project setup.
oh no, I had them in the other project but since this is a new project I forgot!
I'm definitely getting a feeling of deja vu
that indeed was the total of the mystery 😞
Makes me think Calva should check that it has its dependencies satisfied and tell you if it hasn't.
well it does say when it's not connected to a repl
maybe the missing bit is saying it's connected to a repl but it doesn't have the deps?
in the same box
Yes, I think there's an issue about that, even. I just haven't realized how important it is, until now.
Dear Calva-friends. I have a Paredit bug fixing PR that I need help with testing. It was supposed to be a small fix for when growing a selection would keep adding to its stack even when the selection couldn’t grow more. But it turned out I had created quite a mess in my frenzy with adding all those Paredit commands. I got a lot of help from @brandon.ringe to sort out what was the most messy and to see how to clean things up. Short story is that naming is important. Anyway, it got to be quite a big cleaning up and that’s why it would be nice with some help testing stuff: • Here is the PR: • Here is the VSIX (for your convenience): https://3114-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.67-fix-select-bf-stack-506-c305e3c9.vsix • Here are the docs that tells how things should work: https://calva.readthedocs.io/en/latest/paredit.html

A good thing with this bug hunt has been that it made me bring in unit testing. It will take some effort to reach any coverage. I will write something about the unit testing setup tomorrow and then you can help with adding a test now and then. 😃
There is also an integration testing setup added by @slack1038, that we will be able to use for some of the extension smoke testing that currently is all too ad hoc and manual.