Fork me on GitHub
Shantanu Kumar08:01:06

Is it possible to have Cursive discover vars (for the purpose of jump-to-definition) defined using macros other than def, defonce and defn? I have connected Cursive via REPL, but that doesn’t seem to have any effect on discovery.


my understanding is that cursive doesn't use any information from the repl for jump to source and other similar things. it's all through static analysis. if your macro for defining is something that directly maps to similar definitions as def or the others (i.e. something like (my-def-macro my-var-name ...), you can resolve it as def