Although I've worked on this on the clj-kondo side myself too, I'm pretty amazed that this works in LSP, kudos @ericdallo ;)
We can probably improve this a lot with the new Class/.instance notation as well
Nice! Yeah, agreed, my princess dream would be to support something like:
(doto (MyClass.)
(.foo|)) ;; completion there
but I struggle to see how static analysis would help thereIf people are willing to use the 1.12 syntax, this would be possible
(doto (MyClass.)
(MyClass/.foo| ;; completion here))interesting, didn't realize that, I wonder how common will be to type again the MyClass especially after years of not doing that
Maybe not but if people want auto-completion, they can I guess
but probably needs a little change in clj-kondo
makes sense