cursive

Issues at: https://git.io/cursive-issues
Shantanu Kumar 2021-01-15T08:30:06.002100Z

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.

tanzoniteblack 2021-01-15T18:12:36.002400Z

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 https://cursive-ide.com/userguide/macros.html#customising-symbol-resolution

Shantanu Kumar 2021-01-15T19:17:42.002700Z

Thanks, @tanzoniteblack

👍 1