lsp

mpenet 2026-01-16T14:07:55.896119Z

Is there a way to have clojure-lsp expand a particular macro (I guess it falls out the static analysis business it's based on)?

mpenet 2026-01-16T14:08:24.733059Z

it's a macro that generates a bunch of defns and I was hoping to get them available in completions

ericdallo 2026-01-16T14:08:26.303699Z

what you mean? any code example?

ericdallo 2026-01-16T14:08:31.923159Z

ahh

ericdallo 2026-01-16T14:08:55.379009Z

hum, I believe if you have a custom clj-kondo hook that declares those defns it should work?

mpenet 2026-01-16T14:09:53.801049Z

I will have to look into it. I would have to generate these hooks before-hand

ericdallo 2026-01-16T14:10:23.865839Z

yeah the hook is the only way I can see