vemv on master
Update clj-refactor.el Fix Pac… (compare)
(go)to launch server. How do these things automagically work? Is it documented somewhere?
Error loading refactor-nrepl.middleware: java.io.FileNotFoundException: Could not locate cider/nrepl/middleware/util/misc__init.class or cider/nrepl/middleware/util/misc.clj on classpath., compiling:(refactor_nrepl/middleware.clj:1:1) Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: refactor-nrepl.middleware/wrap-refactor in this context, compiling:(/private/var/folders/fg/1tzg0xt88v5bp20059blypr00000gq/T/form-init7039836408815040552.clj:1:9942)
C-h mworked quite well here. Rock on cider :thumbsup:
letas global? Like, if there's
(let [b1 c1] ,,,), I want to move the point to
letand make it evaluate
(def b1 c1), making them available in the current namespace - this will make interactive debugging easier. It's like https://github.com/vvvvalvalval/scope-capture, but more straightforward
@Andre0991 that's a good idea... and thanks for pointing out
scope-capture which I am going to try out for this purpose. IMHO the easiest thing to do is probably to use
scope-capture (if it works) and then make some emacs automation around that. What
spyscope does is provide tagged literals to make it very easy to mark a form (whereas
scope-capture gives you a macro and you wrap the form). If you add a tagged literal that wraps the next form in that macro, and then make an emacs hotkey that does something like
(defun cider-scope-capture-at-point () (interactive) (save-excursion (insert "#scope/capture\n") (next-line) (next-line) (cider-eval-defun-at-point)))
Then you can move your point to the start of a form and hit a hotkey bound to that fn.