Fork me on GitHub
#cider
<
2024-07-13
>
Joseph Graham05:07:37

I'm just learning ClojureScript and I assumed I could use CIDER just like with JVM Clojure. However when I switch into a namespace none of my functions are available. In-fact even standard Clojure stops working:

shadow.user> 
blog-index.hello> (+ 5 4)
Syntax error compiling at (*cider-repl Repos/blog-index:localhost:35311(clj)*:44:19).
Unable to resolve symbol: + in this context
blog-index.hello>

Joseph Graham05:07:17

Startup: /usr/bin/npx shadow-cljs -d nrepl/nrepl:1.1.1 -d cider/cider-nrepl:0.47.0 server

Joseph Graham09:07:17

OK so I figured out how to make it work. Instead of C-c M-j I have to press C-c C-x j s Bit long to remember but ¯\(ツ)