This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-27
Channels
- # announcements (13)
- # asami (12)
- # babashka (65)
- # beginners (62)
- # calva (14)
- # cider (8)
- # clara (11)
- # clj-kondo (16)
- # clojure (86)
- # clojure-europe (12)
- # clojure-gamedev (4)
- # clojure-nl (2)
- # clojure-sg (4)
- # clojure-uk (5)
- # clojurescript (206)
- # clojureverse-ops (11)
- # community-development (7)
- # conjure (12)
- # core-async (2)
- # core-logic (13)
- # cursive (49)
- # datalevin (1)
- # datomic (29)
- # deps-new (3)
- # duct (8)
- # events (5)
- # fulcro (10)
- # helix (5)
- # jobs (1)
- # klipse (5)
- # lsp (178)
- # luminus (1)
- # malli (8)
- # meander (3)
- # membrane (13)
- # missionary (1)
- # nrepl (5)
- # other-languages (4)
- # pedestal (4)
- # reitit (3)
- # releases (1)
- # reveal (27)
- # shadow-cljs (89)
- # tools-build (6)
- # tools-deps (11)
- # vim (2)
- # xtdb (64)
Might be a good tips for who’re new to conjure like me: by settinng g:conjure#client#clojure#nrepl#eval#raw_out
to true, the output will not be commented. This add syntax highlight for some output.
Will be very useful if you use things like tools.trace
Doesn't the lsp try to eval that buffer to, causing problems?
I don’t think so. my log buffer doesn’t get evaluated. in fact I don’t even have auto-completion in it.
Thanks for the tip! I think you meant to say it should be true
, though, right?
*g:conjure#client#clojure#nrepl#eval#raw_out*
`g:conjure#client#clojure#nrepl#eval#raw_out`
Don't prefix stdout lines with `; (out)`, useful if you print data a
lot and don't want to have to strip the comment prefixes each
time.
Default: `false
`Oh right ^^ my mistake. Set it to true will print the raw output
I'm getting an error when trying to eval the namespaces in my buffer. In general I think namespaces are a little funky for Clojurescript with Conjure. If I don't eval the namespace declaration in the buffer manually, other expressions that reference imported libs/files fail. Something like "No such namespace: Whatever". I was getting around this up until yesterday by just eval'ing the namespace manually. Now today I'm getting this.
; (err) Could not locate modern_guitar/theory__init.class, modern_guitar/theory.clj or modern_guitar/theory.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.
The error makes sense, since the file is modern_guitar/theory.cljs
, but it seems to me that it should work. And it was definitely working yesterday.My environment just seems jank in general. I used a figwheel template to bootstrap my project. Since Conjure only connects to nrepl I'm currently using lein figwheel
to start a repl that serves my project in the browser, and then also lein repl
to start an nrepl so that conjure can connect to it.
This is probably not very useful to you, but I haven't used figwheel in almost four years…. Shadow's watch mode builds and offers an nrepl at the same time