Registers all widget-related RPC procedures.
- msg : Server.WithRpcRef MessageData
- 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 CodeWithInfos
- exprExplicit : Option CodeWithInfos
Show the term with the implicit arguments.
Docstring. In markdown.
Instances For
Equations
- Lean.Widget.instInhabitedInfoPopup = { default := { type := default, exprExplicit := default, doc := default } }
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
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
- lineRange? : Option Lsp.LineRange
Return diagnostics for these lines only if present, otherwise return all diagnostics.
Instances For
Equations
- Lean.Widget.instInhabitedGetInteractiveDiagnosticsParams = { default := { lineRange? := default } }
- kind : Server.GoToKind
Instances For
Equations
Equations
- One or more equations did not get rendered due to their size.