Fork me on GitHub
#cider
<
2018-06-04
>
Matt Phillips01:06:11

CIDER 0.17.0 seems to break clj-refactor’s refactor-nrepl package. I kind of rely on clj-refactor for a few things. any likelihood of a fix?

Matt Phillips01:06:16

error: Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/misc__init.class

eggsyntax02:06:49

@m994 I haven't encountered that myself, but I expect that this blog post is about solving exactly that issue: https://codehopper.nl/2018/05/28/a-tale-of-emacs-clojure-and-pinned-packages/

eggsyntax02:06:50

(although to be clear I just glanced at the blog post briefly when it recently came up on planet clojure, so I might be mistaken)

Matt Phillips02:06:48

thanks! that looks hopeful, will give it a try

arrdem02:06:43

In theory, patches welcome. My elisp isn't that good.

stardiviner02:06:17

I see. Thanks for your quick reply.

bozhidar10:06:25

Yeah, it’s certainly possible now that @arrdem has done the heavy lifting. You can just see the code Spiral uses to insert the image as a button and leverage this.

Matt Phillips02:06:27

@eggsyntax thanks again. that’s gotten me to a stable CIDER 0.17 and clj-refactor config. I also had to use [refactor-nrepl "2.4.0-SNAPSHOT"] in my lein profile

benedek09:06:09

yup that is the way to go for now @m994

diego.videco20:06:11

Hi, it’s been a while since I have used Clojure and Cider, I am a noob. I had a project that was running correctly the last time I worked on it, but now I have ben having problems with it. I updated Java and had to subsecuently update cider and clj-refactor. Now the project connects to Cider but when I try to run my tests with C-c C-t n I get the message No assertions (or no tests) were run.Did you forget to use 'is' in your tests?. How ever I do have tests in the namespace and they where running last time I checked. Any idea why this is happening?

tanzoniteblack20:06:40

@diego.vid.eco did you compile the test namespace explicitly?

diego.videco20:06:22

Is there a way to compile the whole project?

tanzoniteblack20:06:26

often times there's nothing requiring the test namespaces, so they're not automatically loaded when you launch your repl.

tanzoniteblack20:06:28

cider-load-all-project-ns or cider-load-all-files will do that

diego.videco20:06:59

Cool thanks @tanzoniteblack, that fixed it.