Registers all widget-related RPC procedures.
- indent : Nat
Instances For
Equations
- Lean.Widget.instInhabitedMsgToInteractive = { default := { msg := default, indent := default } }
The information that the infoview uses to render a popup for when the user hovers over an expression.
- type : Option Lean.Widget.CodeWithInfos
- exprExplicit : Option Lean.Widget.CodeWithInfos
Show the term with the implicit arguments.
Docstring. In markdown.
Instances For
Equations
- Lean.Widget.instRpcEncodableInfoPopup = { rpcEncode := Lean.Widget.instRpcEncodableInfoPopup.enc✝, rpcDecode := Lean.Widget.instRpcEncodableInfoPopup.dec✝ }
Given elaborator info for a particular subexpression. Produce the InfoPopup
.
The intended usage of this is for the infoview to pass the InfoWithCtx
which
was stored for a particular SubexprInfo
tag in a TaggedText
generated with ppExprTagged
.
Instances For
Instances For
- lineRange? : Option Lean.Lsp.LineRange
Return diagnostics for these lines only if present, otherwise return all diagnostics.
Instances For
- kind : Lean.Server.GoToKind