Lei Zhu

Results 71 comments of Lei Zhu

My fault, I should raise an issue here after https://github.com/haskell/haskell-language-server/pull/2920. But the pr takes so much time, I forgot it...

BTW, will you update the fields by scanning the pr list in hls or rely on `haskell-language-server generate-default-config`?

Many thanks for your improvement! I'm not familiar with `IdeAction`, would you mind give a review? @pepeiborra

> I believe your initial assessment was indeed correct. The pragma line should be changed from > > ``` > #if MIN_VERSION_ghc(9,0,0) > ``` > > to > > ```...

> Very useful, but will it get chaotic sometimes and may feel spammy to the user? People can disable it anytime, and I think there won't be so many unknown...

@jneira told me we have some attempts for hoogle integration, it's fine to have a hover. But for unknown symbols, I just want to redirect users to the hoogle web...

> On the other hand, a hover that presents a Hoogle link for identifiers that lack documentation might be useful. Strongly agree with this. > I don't think adding a...

Yes, I'm on 9.4. Emm, sounds great! So you are thinking to add a link like https://hoogle.haskell.org/?hoogle=getFirst for any symbols without docs(including unknown symbols)?

We can use hie to get the recursive relation. Semantic highlighting looks very suitable, but needs some extra work indeed to adapt recursive definition. Maybe we can do it after...

How about diagnostic with `information` severity? https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnosticSeverity