- resolveProvider : Bool
Equations
Equations
- text : CompletionItemKind
- method : CompletionItemKind
- function : CompletionItemKind
- constructor : CompletionItemKind
- field : CompletionItemKind
- variable : CompletionItemKind
- class : CompletionItemKind
- interface : CompletionItemKind
- module : CompletionItemKind
- property : CompletionItemKind
- unit : CompletionItemKind
- value : CompletionItemKind
- enum : CompletionItemKind
- keyword : CompletionItemKind
- snippet : CompletionItemKind
- color : CompletionItemKind
- file : CompletionItemKind
- reference : CompletionItemKind
- folder : CompletionItemKind
- enumMember : CompletionItemKind
- constant : CompletionItemKind
- struct : CompletionItemKind
- event : CompletionItemKind
- operator : CompletionItemKind
- typeParameter : CompletionItemKind
Equations
Equations
- Lean.Lsp.instToJsonCompletionItemKind = { toJson := fun (a : Lean.Lsp.CompletionItemKind) => Lean.toJson (a.toCtorIdx + 1) }
Equations
- Lean.Lsp.instFromJsonCompletionItemKind = { fromJson? := fun (v : Lean.Json) => do let i ← Lean.fromJson? v pure (Lean.Lsp.CompletionItemKind.ofNat (i - 1)) }
Equations
Equations
Equations
Equations
Equations
- Lean.Lsp.instToJsonCompletionItemTag = { toJson := fun (t : Lean.Lsp.CompletionItemTag) => Lean.toJson (t.toCtorIdx + 1) }
Equations
- Lean.Lsp.instFromJsonCompletionItemTag = { fromJson? := fun (v : Lean.Json) => do let i ← Lean.fromJson? v pure (Lean.Lsp.CompletionItemTag.ofNat (i - 1)) }
- label : String
- documentation? : Option MarkupContent
- kind? : Option CompletionItemKind
- textEdit? : Option InsertReplaceEdit
Equations
Equations
Equations
- One or more equations did not get rendered due to their size.
Equations
Equations
- isIncomplete : Bool
- items : Array CompletionItem
Equations
Equations
Equations
Equations
- contents : MarkupContent
Instances For
Equations
- Lean.Lsp.instToJsonHover = { toJson := Lean.Lsp.toJsonHover✝ }
Equations
- Lean.Lsp.instFromJsonHover = { fromJson? := Lean.Lsp.fromJsonHover✝ }
Equations
- Lean.Lsp.instFromJsonHoverParams = { fromJson? := Lean.Lsp.fromJsonHoverParams✝ }
Equations
Equations
Equations
Equations
Equations
- includeDeclaration : Bool
Equations
Equations
Equations
Equations
- query : String
- text : DocumentHighlightKind
- read : DocumentHighlightKind
- write : DocumentHighlightKind
Instances For
Equations
- One or more equations did not get rendered due to their size.
- range : Range
- kind? : Option DocumentHighlightKind
Instances For
Equations
@[reducible, inline]
- file : SymbolKind
- module : SymbolKind
- namespace : SymbolKind
- package : SymbolKind
- class : SymbolKind
- method : SymbolKind
- property : SymbolKind
- field : SymbolKind
- constructor : SymbolKind
- enum : SymbolKind
- interface : SymbolKind
- function : SymbolKind
- variable : SymbolKind
- constant : SymbolKind
- string : SymbolKind
- number : SymbolKind
- boolean : SymbolKind
- array : SymbolKind
- object : SymbolKind
- key : SymbolKind
- null : SymbolKind
- enumMember : SymbolKind
- struct : SymbolKind
- event : SymbolKind
- operator : SymbolKind
- typeParameter : SymbolKind
Equations
Equations
Equations
- Lean.Lsp.instInhabitedSymbolKind = { default := Lean.Lsp.SymbolKind.file }
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.
- name : String
- kind : SymbolKind
- range : Range
- selectionRange : Range
instance
Lean.Lsp.instFromJsonDocumentSymbolAux
{Self✝ : Type}
[FromJson Self✝]
:
FromJson (DocumentSymbolAux Self✝)
Equations
instance
Lean.Lsp.instToJsonDocumentSymbolAux
{Self✝ : Type}
[ToJson Self✝]
:
ToJson (DocumentSymbolAux Self✝)
Equations
- mk (sym : DocumentSymbolAux DocumentSymbol) : DocumentSymbol
Instances For
Equations
- syms : Array DocumentSymbol
Instances For
Equations
- Lean.Lsp.instToJsonDocumentSymbolResult = { toJson := fun (dsr : Lean.Lsp.DocumentSymbolResult) => Lean.toJson dsr.syms }
Equations
Equations
Equations
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Lsp.instToJsonSymbolTag = { toJson := fun (x : Lean.Lsp.SymbolTag) => match x with | Lean.Lsp.SymbolTag.deprecated => 1 }
- name : String
- kind : SymbolKind
- location : Location
Equations
Equations
- name : String
- kind : SymbolKind
- uri : DocumentUri
- range : Range
- selectionRange : Range
Equations
Equations
Equations
Equations
- One or more equations did not get rendered due to their size.
- keyword : SemanticTokenType
- variable : SemanticTokenType
- property : SemanticTokenType
- function : SemanticTokenType
- namespace : SemanticTokenType
- type : SemanticTokenType
- class : SemanticTokenType
- enum : SemanticTokenType
- interface : SemanticTokenType
- struct : SemanticTokenType
- typeParameter : SemanticTokenType
- parameter : SemanticTokenType
- enumMember : SemanticTokenType
- event : SemanticTokenType
- method : SemanticTokenType
- macro : SemanticTokenType
- modifier : SemanticTokenType
- comment : SemanticTokenType
- string : SemanticTokenType
- number : SemanticTokenType
- regexp : SemanticTokenType
- operator : SemanticTokenType
- decorator : SemanticTokenType
- leanSorryLike : SemanticTokenType
Equations
Equations
Equations
Equations
- One or more equations did not get rendered due to their size.
The semantic token modifiers included by default in the LSP specification. Not used by the Lean core, but implementing them here allows them to be utilized by users extending the Lean server.
- declaration : SemanticTokenModifier
- definition : SemanticTokenModifier
- readonly : SemanticTokenModifier
- static : SemanticTokenModifier
- deprecated : SemanticTokenModifier
- abstract : SemanticTokenModifier
- async : SemanticTokenModifier
- modification : SemanticTokenModifier
- documentation : SemanticTokenModifier
- defaultLibrary : SemanticTokenModifier
- legend : SemanticTokensLegend
- range : Bool
- full : Bool
Equations
Equations
Equations
- comment : FoldingRangeKind
- imports : FoldingRangeKind
- region : FoldingRangeKind
Instances For
Equations
- One or more equations did not get rendered due to their size.
- startLine : Nat
- endLine : Nat
- kind? : Option FoldingRangeKind
Instances For
Equations
- prepareProvider : Bool
Equations
- Lean.Lsp.instFromJsonRenameOptions = { fromJson? := Lean.Lsp.fromJsonRenameOptions✝ }
Equations
- newName : String
Equations
- Lean.Lsp.instFromJsonRenameParams = { fromJson? := Lean.Lsp.fromJsonRenameParams✝ }
Equations
- textDocument : TextDocumentIdentifier
- range : Range
Equations
Equations
- plaintext (text : String) : InlayHintTooltip
- markdown (markup : MarkupContent) : InlayHintTooltip
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.
- value : String
- tooltip? : Option InlayHintTooltip
Equations
- name (n : String) : InlayHintLabel
- parts (p : Array InlayHintLabelPart) : InlayHintLabel
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.
- type : InlayHintKind
- parameter : InlayHintKind
Equations
- One or more equations did not get rendered due to their size.
Equations
- Lean.Lsp.instToJsonInlayHintKind = { toJson := fun (x : Lean.Lsp.InlayHintKind) => match x with | Lean.Lsp.InlayHintKind.type => 1 | Lean.Lsp.InlayHintKind.parameter => 2 }
- position : Position
- label : InlayHintLabel
- kind? : Option InlayHintKind
- tooltip? : Option InlayHintTooltip
Equations
- Lean.Lsp.instFromJsonInlayHint = { fromJson? := Lean.Lsp.fromJsonInlayHint✝ }
Equations
- Lean.Lsp.instToJsonInlayHint = { toJson := Lean.Lsp.toJsonInlayHint✝ }
- resolveSupport? : Option ResolveSupport