This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-20
Channels
- # aleph (3)
- # beginners (14)
- # cider (70)
- # cljdoc (30)
- # cljs-dev (1)
- # cljsjs (6)
- # clojars (7)
- # clojure (88)
- # clojure-greece (1)
- # clojure-italy (3)
- # clojure-nl (17)
- # clojure-spec (1)
- # clojure-uk (54)
- # clojurescript (48)
- # code-reviews (2)
- # cursive (28)
- # datascript (3)
- # datomic (20)
- # docs (1)
- # emacs (16)
- # figwheel-main (17)
- # fulcro (13)
- # graphql (2)
- # hyperfiddle (2)
- # jobs (2)
- # nyc (1)
- # off-topic (39)
- # parinfer (1)
- # re-frame (37)
- # reagent (225)
- # remote-jobs (3)
- # ring (3)
- # ring-swagger (1)
- # shadow-cljs (110)
- # spacemacs (10)
- # spirituality-ethics (1)
- # test-check (3)
- # tools-deps (36)
- # uncomplicate (2)
- # vim (7)
@p-himik I’m planning to improve all of that shortly, hopefully in this EAP cycle.
How do I enable deps.edn aliases in my project so that the dev deps are included in the repl classpath?
Ok. Lein actually has a series of common profiles which are enabled by default, deps doesn’t really have that (except :test
I guess).
that’s ok with me too. I don’t mind the extra step to know exactly what’s happening
You could have an IDE level setting for default aliases to cater to users who want aliases automatically used.
fyi I’m working on a Datomic Ions project and using the new Ion lib is much easier in deps.edn than lein. hence the question. thanks for adding this, starts nice and fast too
Hey there, n00b question here, when I'm running the debug REPL and I'm exploring variables in the debugger, is there an easy way to def a variable of interest so that I can start poking it in my REPL session? (e.g. I'm interested in a symbol that's defined in a let
)
You want to code (let [x 42]...)
and then get at x
in the REPL? let
bindings are not like def
vars, so no.
I haven't tried it myself, but I think https://github.com/vvvvalvalval/scope-capture is precisely for that sort of thing.
scope-capture looks neat, but for my use cases I can achieve something similar with as much effort doing
(let [x 1
_ (def y x)])
while debugging. It's really handy that I can inspect the let bindings in the cursive debugger, I guess I just wondered there was a tool in the debugger where I could go one step further and assign them globally to a symbol of my choosing in a quick and easy way.