clj-kondo

https://github.com/clj-kondo/clj-kondo
ericdallo 2021-01-26T00:28:32.056700Z

@borkdude any reasons for var-definitions bucket from analysis output doesn't have a :end-row and end-col like locals / local-usages ?

borkdude 2021-01-26T10:06:43.058200Z

@ericdallo I don't know, feel free to add it

1👍
ericdallo 2021-01-26T00:29:51.056900Z

It'd be useful for :clojure-lsp: since we to know if cursor is insdide a function and show on headerline:

ericdallo 2021-01-26T00:30:30.057300Z

ATM, we are using the :row :col only, so if user moves from function name, but inside the function we don't show it on headerline:

snoe 2021-01-26T01:11:46.057700Z

in clojure-lsp, we probably have 4 or 5 things to index on, so I just flatten everything into a singular list and search. if perf becomes. a problem we can reify the indexes we need.

2021-01-26T02:40:12.057900Z

Even for auto-complete?

borkdude 2021-01-26T10:06:43.058200Z

@ericdallo I don't know, feel free to add it

1👍