This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-29
Channels
- # announcements (1)
- # babashka (83)
- # beginners (67)
- # chlorine-clover (22)
- # cider (11)
- # circleci (6)
- # clj-kondo (12)
- # cljs-dev (137)
- # cljsrn (15)
- # clojure (124)
- # clojure-europe (40)
- # clojure-italy (1)
- # clojure-nl (3)
- # clojure-norway (1)
- # clojure-serbia (3)
- # clojure-spec (19)
- # clojure-uk (14)
- # clojuredesign-podcast (5)
- # clojurescript (80)
- # conjure (49)
- # core-async (62)
- # cursive (18)
- # datascript (1)
- # datomic (64)
- # docker (28)
- # emacs (20)
- # figwheel-main (249)
- # fulcro (95)
- # graalvm (2)
- # jobs-discuss (11)
- # joker (2)
- # juxt (4)
- # lambdaisland (9)
- # leiningen (1)
- # meander (14)
- # mount (6)
- # off-topic (16)
- # pathom (46)
- # re-frame (35)
- # reagent (6)
- # reitit (5)
- # shadow-cljs (28)
- # spacemacs (6)
- # sql (18)
- # tools-deps (26)
- # vim (8)
- # xtdb (23)
- # yada (1)
Hello all, I saw today a strange behavior in Chlorine. I turned on refresh namespace when save a file
When I save it with cursor at top, it gives the error in Chlorine console
"No value supplied for key: true"
But if I go with cursor to the end of file, no error apear :thinking_face:Like I said before: seriously, just turn off all the refresh stuff and ignore it. Those "helpful" things bite nearly everyone who uses them in my experience.
@fabrao I suspect it's that Chlorine doesn't always know how to figure the namespace in a file if the cursor is above the ns
form. I mentioned it to @mauricio.szabo a while back. Not sure if there's a GitHub issue for it.
I don't see an issue -- I'll create one. I should have created it some time ago.
@fabrao As I've said before: eval every top level form as you edit code -- you don't even need to save files for that.
A good RDD workflow means evaling everything you change, as you change it.
Ok, that´s the way I thougth it was a good workflow for dayly , but I got your point and I agree with you
My workflow tends to involve saving code at somewhat random times so the code often isn't compilable when I save it 🙂 but it is always compilable when I eval it, because that's what I'm used to: edit, eval, edit, eval, edit, randomly save, edit, eval 🙂
I will often switch back and forth between files, making changes and eval'ing them as I go, editing code (and eval'ing it), editing tests (and eval'ing them and running them).
I run individual tests ctrl-; t
with my cursor on the test name (I feel I should enhance that at some point to allow the cursor to be anywhere in the test form).
So I edit a test (or write a new one) and then ctrl-; B
and then ctrl-; t
.
(and at some random point I do ctrl-s
to save a file 🙂 )
Cya tomorrow 🙂
Just catching up now 🙂. I use refresh, but not on-save. But I also mostly work on Clojure code that's refreshable,
(Also, thanks for opening the issue 👍. I'll look at it right now. I was worried about fixing that implementation because I saw some freezes on Atom when I wrote the first code for the solution, but since 0.7.0 I made some performance optimizations that will probably not freeze Atom anymore)