Registers all widget-related RPC procedures.
- indent : Nat
Instances For
Equations
- Lean.Widget.instInhabitedMsgToInteractive = { default := { msg := default, indent := default } }
Equations
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.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 Lean.Lsp.LineRange
Return diagnostics for these lines only if present, otherwise return all diagnostics.
Instances For
Equations
- Lean.Widget.instInhabitedGetInteractiveDiagnosticsParams = { default := { lineRange? := default } }
- kind : Lean.Server.GoToKind
Instances For
Equations
def
Lean.Widget.lazyTraceChildrenToInteractive
(children : Lean.Server.WithRpcRef Lean.Widget.LazyTraceChildren)
:
Equations
- One or more equations did not get rendered due to their size.