cljfx

https://github.com/cljfx/cljfx
shooodooken 2020-03-23T17:03:37.090500Z

just working through the examples from cljfx repo. everything works fine but i got to examples\e12_interactive_development.clj which says

;; This file is supposed to be explored from the REPL, evaluating forms one by one from top to bottom.
however, no repl port num is spit out to connect to from editor. i'm not familiar with deps.edn. is there some switch i can give alongside clj -A:examples to start nrepl or similar?

vlaaad 2020-03-23T18:51:21.094300Z

@shooodooken clj -A:examples starts a local repl in a terminal when you call that command. If you are using IDEA with Cursive, you can add a "Clojure REPL → Local" run configuration with clojure.main repl type and select "Run with Deps" with examples alias enabled. If your IDE only speaks to nrepl, you should add a dependency on it and launch it like that:

clj -A:examples -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"}}}' -m nrepl.cmdline

shooodooken 2020-03-23T18:54:12.094900Z

@vlaaad cool thanks. will try that now :thumbsup:

😁 1