bbatsov on master
[Docs] Fix a broken link (#279… (compare)
bbatsov on master
Tweak the changelog (compare)
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.
jump-to-definitionfor java functions. I looked over some closed issues regarding this issue and it should just work ootb, but even for internal java stuff like
java.util.UUID/randomUUIDit doesn't work. How do I go about figuring it out / debugging and solving it?
bendlasTobias Heinlein (Gitter): https://github.com/bhauman/figwheel-template might be helpful
developbranch). After jacking in, evaluation and completion works fine. But I am missing refactoring commands. I have activated clj-refactor in my
.spacemacs. It seams there is a bug in Spacemacs develop. Any suggestions where to look for the problem?