Fork me on GitHub
#spacemacs
<
2017-04-20
>
romain04:04:09

Speaking about clj-refactor, in a .cljs file, I cannot extract a function, I got cljr--maybe-rethrow-error: Only .clj files are supported! any idea ?

jumar07:04:26

As error message says, only clojure files are supported. I think (hope) it's a work in progress to implement support for ClojureScript

romain11:04:53

AFAIK it supports cljs and cljc and I saw it working in a lambdaisland video

jumar14:04:15

@romain Yeah, I saw it too, but it didn't work for me. I talked to plexus about this and he responded with following: > I think it might have worked with an older version of clj-refactor. I met up with one of the maintainers recently and he mentioned they used to have an analyzer for cljs, but it's not maintained and so they had to drop it, which means certain operations can't be supported

jumar14:04:11

subscribed - thank you 😉