spacemacs

Spacemacs docs: http://develop.spacemacs.org/doc/DOCUMENTATION.html http://develop.spacemacs.org/layers/+lang/clojure/README.html https://practicalli.github.io/spacemacs/
kirill.salykin 2020-05-15T09:27:31.091200Z

goodday how one starts both clj and cljs? when I use cider-jack-in-clj&cljs - i am asked which command should be used? https://www.dropbox.com/s/k2whs2w7bwsyoq1/Screenshot%202020-05-15%2011.23.45.png?dl=0 (not clear is it for clj or for cljs?) If I select clojure-cli - failure with piggieback not found If i select shadow-cljs - i have two cljs buffers (seems like, because in the supposedly clj REPL I see mention of ;; ClojureScript REPL type: shadow) please advice? Thanks

kirill.salykin 2020-05-18T06:53:42.113900Z

> Regardless of what the buffers say, are you able to evaluate expressions on `.clj` files? Nope, it is indeed shadow-cljs repl clj files cannot be valuted because deps are not loaded

aisamu 2020-05-18T14:11:47.141300Z

Sure, but can you evaluate (+ 1 3) within a clj file? If there's a CLJ available anywhere, it'll be possible. If both are CLJS, it'll complain

kirill.salykin 2020-05-18T14:13:31.141500Z

even if i can - the fact that it cant load any clj dependency makes it useless not a biggie, I still can start two repls separatly :)

kirill.salykin 2020-05-18T14:14:01.141700Z

probably the cider issue… will file the ticket

kirill.salykin 2020-05-18T14:14:09.141900Z

thanks for your help and advices

aisamu 2020-05-18T14:22:40.142100Z

Yup, the point is to narrow down what's going on with your setup

aisamu 2020-05-15T13:12:38.093200Z

If this is a shadow-cljs project, you should probably pick shadow-cljs. Regardless of what the buffers say, are you able to evaluate expressions on .clj files? As an ugly short term fix: if you really have two separate CLJS REPL connections, you may pick one of those and type/send `:cljs/quit - it'll be "demoted" to a CLJ REPL.

kirill.salykin 2020-05-15T14:42:56.093900Z

thanks, i ll give it a shot

dev.4openID 2020-05-15T17:33:27.096300Z

I assume you are running emacs/spacemcs. You can instigate multiple instances of CIDER and each one wil have a separate socket. You will have to be conscientious as to which you are mapped to. It is not obviously easy