Identifier that is sent from the server to the client as part of the CompletionItem.data?
field.
Needed to resolve the CompletionItem
when the client sends a completionItem/resolve
request
for that item, again containing the data?
field provided by the server.
Instances For
CompletionItemData
that also contains a CompletionIdentifier
.
See the documentation ofCompletionItemData
and CompletionIdentifier
.
- params : Lean.Lsp.CompletionParams
Instances For
Fills the CompletionItem.detail?
field of item
using the pretty-printed type identified by id
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Instances For
Cached header declarations for which allowCompletion headerEnv decl
is true.
Returns the declarations in the header for which allowCompletion env decl
is true, caching them
if not already cached.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Intermediate state while completions are being computed.
- items : Array (Lean.Lsp.CompletionItem × Float)
All completion items and their fuzzy match scores so far.
Instances For
Monad used for completion computation that allows modifying a completion State
and reading
CompletionParams
.
Equations
Instances For
- after: Lean.Server.Completion.HoverInfo
- inside: Nat → Lean.Server.Completion.HoverInfo
Instances For
Equations
Instances For
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
Compares n₁
and n₂
modulo private prefixes. Similar to Name.cmp
but ignores all
private prefixes in both names.
Necessary because the namespaces of private names do not contain private prefixes.
NameSet
where names are compared according to cmpModPrivate
.
Helps speed up dot completion because it allows us to look up names without first having to
strip the private prefix from deep in the name, letting us reject most names without
having to scan the full name first.
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Fills the CompletionItem.detail?
field of item
using the pretty-printed type identified by id
in the context found at hoverPos
in infoTree
.
Equations
- One or more equations did not get rendered due to their size.