This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-02
Channels
- # announcements (7)
- # aws (3)
- # babashka (132)
- # beginners (38)
- # calva (3)
- # chlorine-clover (6)
- # clara (1)
- # clj-kondo (20)
- # cljs-dev (24)
- # cljsrn (9)
- # clojure (76)
- # clojure-dev (1)
- # clojure-germany (4)
- # clojure-india (2)
- # clojure-uk (24)
- # clojurescript (15)
- # conf-proposals (1)
- # conjure (114)
- # cursive (3)
- # fulcro (63)
- # graalvm (1)
- # helix (2)
- # joker (10)
- # juxt (1)
- # local-first-clojure (2)
- # meander (9)
- # off-topic (97)
- # rdf (4)
- # re-frame (7)
- # reagent (16)
- # reitit (1)
- # rum (9)
- # shadow-cljs (48)
- # spacemacs (3)
- # tools-deps (3)
- # vim (30)
- # xtdb (10)
Is there a way to subtly change the background colour of the form block that the cursor is in? To visually show the scope, if you know what I mean, of the block. As you move the cursor up and down, between forms, the subtle background highlight would change shape. I know, presently, that I rest my cursor on an opening, or closing, parens, it shows it's counterpart, but I'm after showing the entire block.
I've been exploring clojurescript again and was curious if fireplace is able to show documentation for cljs functions and whatnot.
Error in phase :compilation Unable to resolve var: special-doc in this context at line 1 cljs/us er.cljs Error detected while processing function <SNR>80_Doc[5]..fireplace#i nfo[39]..fireplace#query[10]..<SNR>80_PlatformDelegate[7]..<SNR>80_E valQuery:
I wonder if it is because I'm starting my nrepl through shadow-cljs? I do have cider/cider-nrepl
in my dependencies.
when I run the shadow-cljs watch app
command it starts the nrepl but now I am realizing there is no repl prompt.
My workflow so far is start up the nrepl with that command (according to the tutorial guide) and then use :Connect 3333
to connect fireplace and then use :Piggieback
to connect the cljs. It connects because I'm able to evaluate things and (js/alert "test")
works. But just no docs. Not a huge deal but I was curious
If cider/cider-nrepl
is in your dependencies, then this should work:
• Run shadow-cljs watch app
• Make sure the build is running in your browser / node-script is running before moving any further
• Then run :CljEval (shadow/repl :app)
to start the ClojureScript REPL
Fireplace mappings like K
should work now. No need to run Piggieback.
Error detected while processing function <SNR>80_Doc[5]..fireplace#info[39]..firepla ce#query[10]..<SNR>80_PlatformDelegate[7]..<SNR>80_EvalQuery: line 27: E605: Exception not caught: fireplace.vim: No value in {'status': ['done'], 'id': 'b 4cec1fd-4210-4f20-4d97-5043618cdd92', 'session': ['cfa62d63-19c3-48bd-bafa-09368991a d4a'], 'err': 'Error in phase :compilation^@Unable to resolve var: special-doc in th is context at line 1 cljs/user.cljs'}
i don't remember what contortions were needed to get it to load off the top of my head, but I'm pretty sure it was more than just "add it to the dependencies"
i mean i don't doubt you but does it also require a full moon or something? I recall it being sooooo fiddly
Compared to getting figwheel working with my vim setup it was surprisingly easy. Maybe I was battle hardened by that stage lol.
https://shadow-cljs.github.io/docs/UsersGuide.html#_dependencies_3 > Shadow-CLJS will inject the required CIDER-nREPL middleware once it sees this dependency.