Fork me on GitHub
#cider
<
2016-05-30
>
bvulpes00:05:04

i should be able to drop a #dbg at one place in a function and another in a second place, hit c and (provided the function traverses the second #dbg...) drop into the debugger again, correct?

malabarba01:05:17

@hans cider should have no problem with that

malabarba01:05:13

@bvulpes Not necessarily. Try Shift-C instead. That's a softer version of c.

bvulpes01:05:44

thanks malabarba i'll try that next time

richiardiandrea01:05:32

is there a way to say to cider, don't format inside this form

richiardiandrea01:05:02

everything inside (trace-me ....) does not be to be indented

richiardiandrea01:05:02

this is good for re-frame's trace which needs to wrap every form it wants to trace

hans03:05:16

@malabarba: right, but does it?

malabarba05:05:35

@hans you tell me. You still haven't said what the problem was. :-)

hans05:05:01

@malabarba: of course i did, but here we go again: C-c M-t v does not work for me if the symbol name contains a dot, and I wonder if that's on my setup or a cider bug.

malabarba14:05:23

Ah. Sorry, I didn't look that far back. What's command is that bound to (I'm on a phone ATM)?

hans14:05:50

cider-toggle-trace-var it is.

hans14:05:22

M-. does not work for vars with a dot in their name either.

malabarba14:05:11

That's super strange. I'll try to look into it. :thinking_face:

vinnyataide16:05:52

hello, can I see documentation from function with some time under the cursor instead of C-C C-D- C-D?

vinnyataide16:05:25

I would like some behavior that I get from intellij

malabarba17:05:43

@vinnyataide: you mean seeing the documentation automatically if you don't move the cursor for a couple of seconds?

malabarba17:05:12

We have mouse-over tooltips. Though that's not quite the same thing.

plexus17:05:02

do you have eldoc enabled? at least that gives you the signature. Maybe you can bind cider-doc to a key that's easier for you

vinnyataide19:05:14

Its something. I've put it in my init, another nice thing is the linter

vinnyataide19:05:26

Getting closer to the ide feeling

gastove23:05:54

Hallo! I’ve been using Cider for clojure for a while, very happily; I’ve just started trying to ClojureScript, and M-x cider-jack-in-clojurescript just… silently fails to create a cljs REPL. I’m working on getting the debugger wired up, but I figured I’d check and see if there are any particular things to start looking at?

gastove23:05:17

(There is a nonzero chance I’ve simply misconfigured the project, what with first-time-ClojureScripting — but lein figwheel starts up without a hitch in the terminal, soooo…. whee?)

gastove23:05:29

…`cider-create-sibling-cljs-repl` is never getting called. That’s neat.

bhauman23:05:50

@gastove: (start-figwheel! ) doesn't merge :profiles

gastove23:05:58

Huh. Seems like it’s choking to death on a void function called cljr-warm-ast-cache, which… in fairness, I really cannot prove exists.

gastove23:05:11

bhauman: fascinating

gastove23:05:02

bhauman: and hey look at that, (start-figwheel!) is precisely the command the cider docs recommend using in cider-cljs-lein-repl

gastove23:05:04

bhauman: I just found that a little bit ago! The cider docs have a “CLJS with Figwheel” section, so I started there

gastove23:05:27

But, also, if I take all the figwheel-specifc stuff out of my project.clj, I still cannot get a CLJS repl going.