This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-11-21
Channels
- # aleph (2)
- # announcements (2)
- # babashka (10)
- # beginners (117)
- # calva (11)
- # cider (19)
- # clj-kondo (27)
- # cljs-dev (24)
- # cljsjs (1)
- # clojure (73)
- # clojure-europe (3)
- # clojure-italy (2)
- # clojure-nl (47)
- # clojure-spec (23)
- # clojure-uk (28)
- # clojurescript (71)
- # cursive (7)
- # data-science (17)
- # datascript (1)
- # datomic (7)
- # duct (23)
- # emacs (23)
- # fulcro (6)
- # graalvm (41)
- # jobs (2)
- # luminus (1)
- # malli (1)
- # off-topic (151)
- # pathom (1)
- # portkey (10)
- # re-frame (12)
- # reitit (17)
- # shadow-cljs (158)
- # spacemacs (14)
- # sql (8)
- # tools-deps (17)
- # xtdb (9)
I asked a cider/luminus question in #clojurescript if anyone has time to look at it... basically an issue where the routes are not reloading when changed (the swagger-ui page will unexpectedly stop reflecting changes).
I wasn't sure which channel to ask it in.
Depending on how routes are defined, reloading may be complicated, and not controlled by cider.
I’m not aware of anything in clojure much less cider that would require them to reload. You could look into tools namespace and do the reloaded workflow or just require reload the namespaces with routes in them yourself
@dpsutton just want to say that turning on cider-company-enable-fuzzy-completion
fixed the company completion I was talking about. So, once again, thank you @bozhidar and the CIDER team for another great (and documented!) feature. 🙂
Does anyone experience the issue which causes the $ to move to the end line (which is the last paren)? 1L (some-call) <-- here the cursor goes while it should be on (some call)_HERE Previously $ was moving the cursor to the 1 character after the last sign on the line. (edited)
@karol.wojcik your config is missing (setq evil-move-beyond-eol t)
?
@keymone Exactly. Thanks!!
If I’ve dropped into the debugger at a breakpoint, should I be able to instrument another (additional) function? When I try this, it says Sync nREPL request timed out
…
(The reason I can’t just instrument that second function before hitting the breakpoint is because the code is dynamically loading the clj file that contains that function)
@dpsutton thanks (once again) for great information... I'll look into the reloaded workflow; I think I tried what you are suggesting in reloading the namespace by evaluating (cider-load-buffer) all of services.clj (and even home.clj) in emacs, but it didn't do the trick.
hmm... (require myapp.routes.services :reload)
throws `Caused by java.lang.ClassNotFoundException
myapp.routes.services`
I tried it in the repl and also as a statement inside services.clj.
ah, ok! that didn't make the modified/added endpoints in services.clj appear on the swagger-ui page, but good to know about the quoting.