Fork me on GitHub
#cider
<
2018-05-02
>
bozhidar02:05:53

Someone should probably file a ticket for this, so we won’t forget to investigate what’s going on.

dominicm06:05:12

I think I might change the tools.deps jack in integration if I get time, I want to make it easier to provide a custom main

reefersleep10:05:23

@U09LZR36F @U04V5T0V8 @dpsutton feel free to add your 2 cents to the issue 🙂

andrea.crotti08:05:05

is thrown? in Clojure something really weird?

andrea.crotti08:05:37

Cider doesn't seem to know anything about it, doesn't complete it or suggest what arguments it takes

dominicm09:05:37

I think thrown? is a special in clojure.test, but it's not defined normally

andrea.crotti09:05:24

mm yeah must be something like that

thheller09:05:04

@andrea.crotti thrown? only works inside is as part of the clojure.test/assert-expr multimethod

bstakes13:05:19

I’m using CIDER with a remote REPL and trying to navigate stack traces and am getting “No source location”. I have the files locally and they are shared to my remote host via NFS. Is there any way to accomplish this?

bozhidar14:05:31

Is the source on your classpath?

bozhidar14:05:35

Actually do you run into this for Clojure or Java source files?

dpsutton14:05:53

how would CIDER know a local directory correlates to a remote running repl?

bstakes14:05:14

@bozhidar Clojure files, but the classpath is technically on the remote

bstakes14:05:16

@dpsutton - that’s the question…is there a way to configure CIDER to know that the local files correspond to the remote REPL?

bstakes14:05:09

something similar to how PHP handles xdebug remote sessions

dpsutton14:05:58

I've never followed the code for cider connect. I'll look into that at lunch

bstakes14:05:15

I’ll do the same this evening.

bstakes14:05:36

thanks guys

bozhidar14:05:26

Well, connections are always remote technically speaking - you always connect to some server. The problems usually come in the resolution logic (when you expect the metadata for the source locations - obviously when those are on a remote machine it’s not the same as when they are locally available).

bozhidar14:05:11

You can check cider-find-file to see what happens there. Haven’t worked on this code for a long time, so I don’t remember much about the implementation.

andrea.crotti15:05:11

is there a way to set an environment variable without restarting my Repl somehow?

andrea.crotti15:05:58

I have some env variables coming from environ.core/env

andrea.crotti15:05:18

but they are only read at JVM boot time right?

tanzoniteblack17:05:45

Is there a way with cider to jump to known implementations of a protocol?