Zulip Chat Archive

Stream: general

Topic: Quick Help Needed: Lean4 LSP protocol extensions(?)


io.shift (Jun 30 2025 at 22:17):

I need resources on lean4 LSP extensions, and I can't seem to find any online. Unless lean4 doesn't have any additional LSP extensions on-top of the core LSP protocol?

𝚠𝚘𝚓𝚌𝚒𝚎𝚌𝚑 𝚗𝚊𝚠𝚛𝚘𝚌𝚔𝚒 (Jun 30 2025 at 23:55):

Yep, Lean uses a whole bunch of LSP extensions to support the infoview and widgets. There is not a whole lot of documentation, but most of the extensions are gathered in Lean.Data.Lsp.Extra.

𝚠𝚘𝚓𝚌𝚒𝚎𝚌𝚑 𝚗𝚊𝚠𝚛𝚘𝚌𝚔𝚒 (Jun 30 2025 at 23:57):

Also docs#Lean.Lsp.DiagnosticWith.


Last updated: Dec 20 2025 at 21:32 UTC