Closed vlnn closed 11 months ago
Thanks!
I'll see what I can do.
btw, it looks like you could upgrade cider (which most recent snapshots have a superior TRAMP support: jump-to-definition will work more reliably) and the JDK (8 is being increasingly unsupported in the Clojure community - CIDER will certainly drop it)
Done and tried it myself with a local TRAMP connection.
New MELPA (stable and snapshot) releases will be available within 1-2 hours.
Expected behavior
When using Cider connected to nrepl running on ssh host, refactors of the clojure code should work.
Actual behavior
Some of the refactors are not working, returning errors.
Steps to reproduce the problem
On remote host:
On local host:
SPC p a
+/ssh:target-host:tmp/test-clj-refactor
SPC p p
src/test-clj-refactor/core.clj
SPC m c
+target-host
+11111
(you should see successful message in new repl window)SPC m R t ef
to extract the function. You should see the error as shown below. Other refactors may work (e.g. extract as def works OK).Environment & Version information
clj-refactor.el version information
clj-refactor 3.6.0, refactor-nrepl 3.6.0
CIDER version information
Leiningen or Boot version
Leiningen 2.9.5 on Java 1.8.0_332 OpenJDK 64-Bit Server VM
Emacs version
GNU Emacs 28.2 (build 2, aarch64-apple-darwin22.4.0, NS appkit-2299.50 Version 13.3.1 (a) (Build 22E772610a)) of 2023-05-21
Operating system
Sonoma on localhost, Ubuntu 20.04 on target-host