Fork me on GitHub
#cider
<
2016-04-30
>
bbss02:04:13

@xcthulhu: thanks for the advice, I tried adding the cljs path to :source-paths on lein root and moving my clojurescript files to the /src/ root but both don't seem to work.

bbss02:04:29

lein figwheel does work so I do think it's a cider problem

bbss02:04:20

@edbond sound like you could be hitting the same problem as I am

bbss04:04:06

Ah I got it. I forgot to remove the debugging stuff I tried to add in the spacemacs init setq-default cider-cljs-lein-repl stuff. Thanks for the help @plexus @xcthulhu!

cch104:04:08

Can anybody provide guidance on why I can’t jump to source when running over a remote nrepl? Works fine (from the same github repo and commit) running everything locally. Cider tells me “No source location”. This is running cider 0.12.0 and nrepl 0.2.12 on Clojure 1.8.0

greenrecyclebin04:04:32

Could anyone show me how to use "cider-debug-defun-at-point" on Clojure core code? I tried it on https://github.com/clojure/clojure/blob/clojure-1.8.0/src/clj/clojure/core.clj#L4259 and got these errors http://pastebin.com/656D99a0.

xcthulhu14:04:26

I wish there was a Clojure(Script) pastebin

nonrecursive14:04:37

hey dudes, I’ve finally upgraded to 0.12.0 and am running some unit tests, and one of them’s throwing an exception. is there a way to show the stack trace?

chrisperkins15:04:54

@nonrecursive: in the test-results buffer, tab to the error then press "e". Docs: https://cider.readthedocs.io/en/latest/running_tests/#running-tests

malabarba17:04:44

@nonrecursive: or just click on the link in the test report buffer

malabarba17:04:16

@greenrecyclebin: some of the Clojure core functions just can't be debugged.

malabarba17:04:36

The debugger is written in Clojure, so you're going to get stack overflows if you try to debug some of the functions used by the debugger.

malabarba17:04:38

@cch1: you can't. You just don't have the source files with you. :-)

cch119:04:34

@malabarba: well, actually the remote repl server is running via lein repl :headless and the files are present both locally and remotely.

cch119:04:29

I’m really not knowledgeable about how the source file lookups are performed, but with (identical) copies of the files locally and remotely, I thought it would work.

ccann20:04:11

does anyone know how to stop company-mode from completing on TAB when my cursor is on a blank line? I have (global-set-key (kbd "TAB") #'company-indent-or-complete-common) and (setq tab-always-indent nil)