Do you guys know if there is a way to find all usages of a function, either with Conjure or in some other way?
So when the cursor is on a function name, you could quickly see (/ jump to) all places in your code base that refer to that function.
(kinda like the opposite of <localleader>gd
in Conjure)
Cool. Would be interested in seeing your config if you have it online somewhere
@sigve.nordgaard Maybe I can share it tonight (for me, in ~8 hours), bit busy at the moment and my dotfiles aren't public. Remind me in a private message if I don't respond here myself, in case I forget.
No worries, i don't need it for anything specific right now:)
@mail089 i use clojure-lsp for this exact use case via coc
(`coc-references`), although any LSP client will probably do
another thing I do, which only works in a local file, is to use vim vista, to find all function references and jump to (it uses universal ctags underneath)
can be handy if your namespace is big 🙂
Thanks! @dharrigan I had some issues with ctags in the past, but I’ll keep it in mind!
@sigve.nordgaard I’ll try clojure-lsp with coc-references
, as I’m already using coc
:thumbsup:
👋 , I’m trying to run my tests with <localleader>tn
but that doesn’t seem to help; am I missing something obvious?
Are you sure the buffer is loaded?
Thanks for offering help, all 🙂 if you can provide a little more context such as what Sigve mentioned I'll try my best to help you work it out. Also if you're using Clojure or ClojureScript will help narrow things down, potentially.
[Olical/conjure] Issue opened by semperos
What sort of tests do you have?
It works for me with: • repl connection • clojure.test
clojure.test