Fork me on GitHub
#cider
<
2021-11-10
>
diego.videco04:11:38

Hey all. While using cljr-rename-file I am getting an EOF exception, but it is not very informative. My question is how can I find out which is the file that is making it throw.

cljr--maybe-rethrow-error: clojure.lang.ExceptionInfo: [line 587, col 1] Unexpected EOF while reading item 85 of list, starting at line 151 and column 1. {:type :reader-exception, :ex-kind :eof, :file nil, :line 587, :col 1}
I tried running cider-load-all-project-ns to see if something stood out, but everythig loads correctly.

vemv09:11:31

which version of refactor-nrepl are you using?

vemv14:11:56

The 3.0.0 series makes these less likely because it analyzes/refactors far fewer irrelevant files :) Just today we released 3.1.0 If you update clj-refactor.el to latest (3.1.0 or $snapshot), you'll get an updated refactor-nrepl with it as well

diego.videco15:11:54

thanks, I'll try that

cider 2
diego.videco01:11:55

Just as an update, it did work. Thanks @U45T93RA6

Benjamin10:11:49

When I have clojure running and I change deps.edn (add deps) is there some easy way to pull stuff into the running program?

vemv10:11:33

I believe that add-lib + running cider-nrepl 'standalone' (as opposed to cider-jack-in) should work https://github.com/practicalli/clojure-deps-edn/blob/157a08ac8712fd544727302f7669789addac48a8/deps.edn#L178-L185

Benjamin10:11:40

gonna check it out