Fork me on GitHub
#cider
<
2017-05-06
>
nooga00:05:44

@gmercer use of undeclared var ;(

gmercer00:05:16

@nooga can you try (figwheel-sidecar.repl-api/api-help) in your clojure repl

gmercer00:05:04

whereas (fig-status) is in your cljs repl

gmercer00:05:20

@nooga do you see the above once your browser connects ?

romain13:05:11

@nooga did you require figwheel-sidecar.repl-api?

nooga13:05:01

it turns out that it just randomly didn’t work

nooga13:05:11

after restarting cider everything worked 🙂

ustunozgur13:05:55

Hi everyone, I can't seem to get cider to open a Java swing window. I don't seem to have :jvm-opts ["-Dapple.awt.UIElement=true"] anywhere in my config.

ustunozgur13:05:00

Does anyone know the cause?

ustunozgur13:05:46

I see a :headless option being passed, could that be related?

oskarkv20:05:37

Is there any command for looking up the source of function under point? Like cider-doc but also includes the source, as given by (source thing)

jumar20:05:44

@oskarkv cider-find-var ? I think it's bound to M-. by default; , g g in spacemacs

oskarkv20:05:02

I'll try. Apparently there is one called cider-docview-source too

oskarkv20:05:51

But that one didn't work 😛

bozhidar20:05:01

cider-find-var is what you need; the command you mentioned is meant to be used only in doc buffers.

bozhidar20:05:41

On a related note - this won’t work for vars coming from other jars if their source code is not on the classpath.

oskarkv21:05:23

I want to toggle something when entering debug mode. Is there a function to find out if I am in debug mode? Since cider--debug-mode-hook is run both when entering and exiting

oskarkv21:05:52

Bty, why does cider--debug-mode-hook have 2 dashes, is it not meant to be used?

oskarkv21:05:21

Ah, there's cider--debug-mode, a variable

oskarkv21:05:25

What is cider-find-resource for?