Fork me on GitHub
#lsp
<
2024-04-03
>
Felipe19:04:39

is it possible to separate the number of references to a var between "in this namespace" / "outside of this namespace"?

ericdallo19:04:05

It's possible to implement, not sure how UX would be and if it makes sense

ericdallo19:04:57

Also the LSP protocol doesn't support that, so would need to be a custom feature

Felipe19:04:44

fair enough 😄 for context, sometimes I like to separate the public-like part of a namespace from what's only used internally by the public-like functions. there's probably something in the clj-kondo analyzer I could use for that, right?

ericdallo19:04:50

yes, there is a private field

ericdallo19:04:08

but yeah, I can't see how we could offer that for editor without changing a lot

👍 1