Fork me on GitHub
#lsp
<
2023-02-25
>
mpenet20:02:09

Is there any work already ongoing to support inlayhints?

ericdallo20:02:10

Not really, TBH I don't see where to use it exactly for clojure, any suggestions?

elken20:02:28

Only usage I can think outside of complex malli/spec parsing would be replicating what eldoc already does

mpenet20:02:34

Not sure. I suppose cljkondo might give some useful info to leverage but honestly I didn’t think about that yet

ericdallo20:02:18

Yeah, we probably have the needed info, it's just that I can't think in something useful to present to user hehe

mpenet20:02:50

It’s a bit odd eglot lands that before lens support

mpenet20:02:14

I am not even sure lens is considered useful by eglot author

ericdallo20:02:15

Agree, lens are way important IMO

💯 2
ericdallo20:02:37

In lsp-mode + clojure-lsp is one of the best features the references count support

mpenet20:02:27

Eglot has this kind of, via faces that are different if you have 0 or more refs

mpenet20:02:13

It’s a bit less intrusive, but shows less information, obviously

ericdallo20:02:19

Ah yeah, lsp-mode does that as well, yet, have the count of usages and tests are better

ericdallo20:02:36

Configurable via clojure-lsp as well

mpenet20:02:36

I remember yes

mpenet20:02:06

(I go back & forth between eglot/lsp-mode)

😅 2
mpenet20:02:14

I noticed eglot just landed initial support for them in git, but it’s fairly new, I think only go/rust/c++ servers support them

ericdallo20:02:52

Yes, rust uses a lot and works well