This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-09-21
Channels
- # announcements (3)
- # architecture (5)
- # babashka (19)
- # beginners (145)
- # calva (1)
- # chlorine-clover (18)
- # cider (10)
- # clj-kondo (5)
- # cljsrn (3)
- # clojure (56)
- # clojure-berlin (19)
- # clojure-czech (2)
- # clojure-europe (32)
- # clojure-finland (2)
- # clojure-nl (3)
- # clojure-portugal (2)
- # clojure-spec (8)
- # clojure-uk (48)
- # clojurescript (48)
- # conjure (50)
- # cryogen (1)
- # cursive (28)
- # datomic (54)
- # depstar (12)
- # emacs (1)
- # events (8)
- # figwheel-main (6)
- # fulcro (4)
- # helix (4)
- # java (2)
- # jobs (2)
- # leiningen (1)
- # off-topic (29)
- # parinfer (4)
- # pathom (6)
- # portkey (3)
- # reagent (1)
- # remote-jobs (3)
- # reveal (16)
- # shadow-cljs (42)
- # sql (20)
- # tools-deps (11)
- # vim (4)
- # vrac (2)
Hi, I added [ring-cors "0.1.13"]
in my dependencies. But, in core.clj
, cider cannot autocomplete the ring.middleware.cors
when I try to require it. Anyone how to fix it? (`clojure-lsp` can find the ring.middleware.cors
candidate)
Unless you have some form of hot-load library to load in new dependencies into a running REPL, the the REPL should be restarted (stop, start) to pick up the new dependency.
Thanks @U05254DQM. I am doing the (stop, start) approach, and can load the namespace successfully. The problem is there is no autocompletion of ring.middleware.cors
from cider’s company mode (after injection). It is not really a big deal. I am just wondering whether there are some easy fix for the autocompletion.
How do I eval something in the code which yields a larger result, to be pretty-printed to the REPL - sort of equivalent to C-x e..?
The cider inspector is a great tool for paging through large results and can also navigate nested data structures https://docs.cider.mx/cider/debugging/misc.html#_inspecting_values Some screenshots here https://docs.cider.mx/cider/debugging/misc.html#_inspecting_values
The cider inspector is a great tool for paging through large results and can also navigate nested data structures https://docs.cider.mx/cider/debugging/misc.html#_inspecting_values Some screenshots here https://docs.cider.mx/cider/debugging/misc.html#_inspecting_values