I've pushed a fix for this (the thing I outlined in my previous comment), so I think this is finally fixed "properly".
(note that while the streaming is happening there won't be Clojure font-locking, only when it finishes)
Heads up - I'm almost done with the scope I had in mind for the next CIDER release:
• revamp of the debugging functionality outside of the debugger (macroexpansion, tracing, enlighten, tap, etc)
• improvements to the ClojureScript support (e.g. you can now run tests from CIDER)
• improvements to xref (I've made it work a lot better out-of-the-box, but reviving some ideas from the days of swank-clojure and creative use of ripgreg) 😄
• Adoption of transient for the nest command maps (e.g. doc, eval, etc)
The most interesting things are in the first section of the changelog https://github.com/clojure-emacs/cider/blob/master/CHANGELOG.md
I guess I'll eventually have to record some new screencast after this release, as I've made quite a few small UI changes.
At any rate - now would be a good time to test the progress so far, before the final release happens.
will ripgrep be a required dependency?
No, the improved xref works with grep as well, it just works better with ripgrep
And obviously it's up to everyone to decide if they want to use this functionality at all. 🙂 Something like clojure-lsp and clj-refactor will still give you more accurate results, but both of them do it with a lot more complexity.
The code for the new functionality is here https://github.com/clojure-emacs/cider/blob/master/lisp/cider-xref-source.el and it's quite simple (I think).
That all sounds really useful! Macroexpansion in CIDER for ClojureScript would be really useful to me. is that included?
Yeah, that's included. Before macroexpansion worked for cljs, but only for cljs.core macros. Now I've taken some steps to make it work with user-defined macros as well. That's another area that needs broader testing, though, as I'm not a heavy cljs user myself.
(meaning I test such features with trivial examples most of the time)
Excellent. Don’t worry, I’ll be giving it some testing!
wow, looking forward to trying this, will it be in the next release?
Yeah, it's already in the snapshot release on MELPA.