This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-31
Channels
- # aleph (1)
- # announcements (2)
- # beginners (105)
- # braveandtrue (1)
- # cider (61)
- # clara (47)
- # cljdoc (29)
- # cljs-dev (5)
- # clojure (61)
- # clojure-austin (14)
- # clojure-brasil (1)
- # clojure-india (3)
- # clojure-italy (4)
- # clojure-mexico (1)
- # clojure-nl (2)
- # clojure-spec (37)
- # clojure-uk (95)
- # clojurescript (73)
- # cursive (12)
- # data-science (1)
- # datomic (26)
- # duct (10)
- # emacs (5)
- # fulcro (47)
- # hoplon (6)
- # hyperfiddle (3)
- # jobs-discuss (3)
- # kaocha (2)
- # leiningen (3)
- # nrepl (8)
- # off-topic (3)
- # onyx (2)
- # re-frame (31)
- # reitit (16)
- # shadow-cljs (36)
- # spacemacs (46)
- # specter (16)
- # tools-deps (13)
- # yada (22)
is there a command in the REPL to reload changed files in a certain source folder? (or exclude a folder)
you could use https://github.com/clojure/tools.namespace instead
could you explain why 1. you can't sync everything + 2. you want to avoid tools.namespace?
@stijn there is a sync files in repl command which does that
But not only a certain folder...
But we use that instead of tools.namespace
because we are running our REPL in an OSGI container, and it works pretty well!
I have a macro like this:
(with-test-env env
.... some body)
which basically adds a env locally, is there someway to have cursive resolve this so I don't get warnings?in the settings under "Languages -> Clojure -> Symbol Resolution" you can make one symbol (like with-test-env
) resolve like some other symbol (in this case I guess you would like def
).
To add that, you have to export the symbol resolution settings, change the resulting file, adding your symbol resolution and then reimport it
Oh and you have to restart intellij after for it to show
@UCULU82G3 Thank you for the detailed instructions but it is more like a let
so marking it as a def doesn't work 😞