This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-29
Channels
- # aleph (3)
- # announcements (16)
- # beginners (85)
- # calva (2)
- # cider (13)
- # clj-kondo (84)
- # cljdoc (3)
- # clojure (109)
- # clojure-belgium (1)
- # clojure-china (39)
- # clojure-europe (4)
- # clojure-france (1)
- # clojure-italy (70)
- # clojure-nl (8)
- # clojure-spec (8)
- # clojure-uk (53)
- # clojuredesign-podcast (14)
- # clojurescript (43)
- # cursive (25)
- # data-science (1)
- # datomic (4)
- # emacs (10)
- # figwheel (4)
- # garden (4)
- # graphql (5)
- # jackdaw (10)
- # jobs (5)
- # jobs-discuss (5)
- # lambdaisland (2)
- # leiningen (3)
- # luminus (7)
- # off-topic (32)
- # pathom (11)
- # pedestal (2)
- # planck (15)
- # re-frame (12)
- # reagent (4)
- # remote-jobs (2)
- # shadow-cljs (51)
- # sql (29)
- # tools-deps (47)
Hey guys, another newb question, how can I continue using my REPL (in Cursive) while I have the debugger stopped at a breakpoint, or would I need to start a second repl process? (Directly in the terminal?)
So, it looks like right now the closest I can get to that is using the Evaluate in the debugger. The problem I am having at the moment is that when I tried using a (require) so that I could all a function I got a CompilerException on not being able to use :all.
Yeah, currently that’s the best you can do - I’d like to be able to use that transparently behind the scenes when the debugger is paused, but I haven’t got to that yet.
You can use the same completion functionality for namespace aliases and classes as is documented here: https://cursive-ide.com/userguide/editing.html#completion
They’re stored temporarily for the expression you’re evaluating, so you can write (str/tr|)
and autocomplete will offer trim in clojure.string as str
, and then you can use that.
Principally, more people asking for it. Technically there’s not much to it probably (since IIRC it has no interop) but there’s a lot around the edges, things like running processes and so on.
A few months ago someone suggested that I try using tubular
and connect to Joker's socket REPL.
I set up a remote REPL in Cursive, and this almost worked, I was able to execute code in the REPL, but the moment I ran evaluate expression in REPL
from the editor, I ran into an issue.
I'll dig up more information if it's valuable to you, but I believe Cursive is sending more stuff than just the s-expression to the REPL so Joker wasn't able to evaluate.
@U0JAE119P Ah, I know what you mean. Yes, just being able to turn that off would probably help a lot.
Yeah that'd give me the awesomeness of editing Joker scripts with Cursive (and all my slurp/barf bindings) while keeping my "send to REPL" workflow. If it makes it to the next EAP I'll give it a shot!
It looks like you're able to set the user deps.edn if you click on "use tools.deps directly"