Documentation

Lean.Server.FileWorker.RequestHandling

Handles completionItem/resolve requests that are sent by the client after the user selects a completion item that was provided by textDocument/completion. Resolving the item fills the detail? field of the item with the pretty-printed type. This control flow is necessary because pretty-printing the type for every single completion item (even those never selected by the user) is inefficient.

Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.

SyntaxNodeKinds for which the syntax node and its children receive no semantic highlighting.

Equations
  • One or more equations did not get rendered due to their size.

Keywords for which a specific semantic token is provided.

Equations
  • One or more equations did not get rendered due to their size.

Semantic token information for a given Syntax.

Given a set of LeanSemanticToken, computes the AbsoluteLspSemanticToken with absolute LSP position information for each token.

Equations
  • One or more equations did not get rendered due to their size.

Filters all duplicate semantic tokens with the same pos, tailPos and type.

Equations
  • One or more equations did not get rendered due to their size.

Collects all semantic tokens that can be deduced purely from Syntax without elaboration information.

Collects all semantic tokens from the given Elab.InfoTree.

Equations
  • One or more equations did not get rendered due to their size.

Computes the semantic tokens in the range [beginPos, endPos?).

Equations
  • One or more equations did not get rendered due to their size.

Computes the semantic tokens in the range provided by p.

Equations
  • One or more equations did not get rendered due to their size.
Equations
Equations
  • One or more equations did not get rendered due to their size.
Equations
  • One or more equations did not get rendered due to their size.