Hi, has anything changed about xref-find-definition? In the last few days, xref on qualified keyword (in my case reitit route and I am using Eglot) is pointing me to the wrong or sometimes even no place in the code. Or does anyone know what this could be?
not really, can you repro at https://github.com/ericdallo/clojure-sample?
Nope, it is happening just with some of the routes in one application so far and it seems to be kind of random. I just wanted to make sure there was no change in LSP, I upgraded both it and the emacs packages a few days ago 🙂.
Is it an idea to navigate from the symbol inside declare to the actual definition?
(declare foo ;; navigate from here
)
(defn foo ;; to here
[])
(foo)hum, it's an idea, but not sure find-definition is the ideal one, maybe find-implementation or find-declaration
I'd say find-definition would work
declare doesn't provide a definition, it only says: this thing comes later
yeah, makes sense
feel free to create an issue