Server

class lsp.lsp.server.AnnotatedTextEdit
annotationId: str
newText: str
range: Range
class lsp.lsp.server.CallHierarchyIncomingCall
from: CallHierarchyItem
fromRange: list[lsp.lsp.common.Range]
class lsp.lsp.server.CallHierarchyIncomingCallsParams
item: CallHierarchyItem
partialResultToken: int | str
workDoneToken: int | str
class lsp.lsp.server.CallHierarchyItem
data: Any
detail: str
kind: Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
name: str
range: Range
selectionRange: Range
tags: list[Literal[1]]
uri: DocumentUri
class lsp.lsp.server.CallHierarchyOptions
workDoneProgress: bool
class lsp.lsp.server.CallHierarchyOutgoingCall
fromRanges: list[lsp.lsp.common.Range]
to: CallHierarchyItem
class lsp.lsp.server.CallHierarchyOutgoingCallsParams
item: CallHierarchyItem
partialResultToken: int | str
workDoneToken: int | str
class lsp.lsp.server.CallHierarchyPrepareParams
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.CallHierarchyRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.ChangeAnnotation
description: str
label: str
needsConfirmation: bool
class lsp.lsp.server.CodeAction
command: Command
data: Any
diagnostics: list[lsp.lsp.server.Diagnostic]
disabled: CodeActionDisabled
edit: WorkspaceEdit
isPreferred: bool
kind: Literal['', 'quickfix', 'refactor', 'refactor.extract', 'refactor.inline', 'refactor.rewrite', 'source', 'source.organizeImports', 'source.fixAll']
title: str
class lsp.lsp.server.CodeActionContext
diagnostics: list[lsp.lsp.server.Diagnostic]
only: list[Literal['', 'quickfix', 'refactor', 'refactor.extract', 'refactor.inline', 'refactor.rewrite', 'source', 'source.organizeImports', 'source.fixAll']]
triggerKind: Literal[1, 2]
class lsp.lsp.server.CodeActionDisabled
reason: str
class lsp.lsp.server.CodeActionOptions
codeActionKinds: list[Literal['', 'quickfix', 'refactor', 'refactor.extract', 'refactor.inline', 'refactor.rewrite', 'source', 'source.organizeImports', 'source.fixAll']]
resolveProvider: bool
workDoneProgress: bool
class lsp.lsp.server.CodeActionParams
context: CodeActionContext
partialResultToken: int | str
range: Range
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.CodeDescription
href: URI
class lsp.lsp.server.CodeLens
command: Command
data: Any
range: Range
class lsp.lsp.server.CodeLensOptions
resolveProvider: bool
workDoneProgress: bool
class lsp.lsp.server.CodeLensParams
textDocument: TextDocumentIdentifier
class lsp.lsp.server.Color
alpha: int
blue: int
green: int
red: int
class lsp.lsp.server.ColorInformation
color: Color
range: Range
class lsp.lsp.server.ColorPresentation
additionalTextEdits: list[lsp.lsp.server.TextEdit]
label: str
textEdit: TextEdit
class lsp.lsp.server.ColorPresentationParams
color: Color
partialResultToken: int | str
range: Range
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.Command
arguments: list[Any]
command: str
title: str
class lsp.lsp.server.CompletionContext
triggerCharacter: str
triggerKind: Literal[1, 2, 3]
class lsp.lsp.server.CompletionItem
additionalTextEdits: list[lsp.lsp.server.TextEdit]
command: Command
commitCharacters: list[str]
data: Any
deprecated: bool
detail: str
documentation: str | MarkupContent
filterText: str
insertText: str
insertTextFormat: Literal[1, 2]
insertTextMode: Literal[1, 2]
kind: Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25]
label: str
labelDetails: CompletionItemLabelDetails
preselect: bool
sortText: str
tags: list[Literal[1]]
textEdit: TextEdit | InsertReplaceEdit
textEditText: str
class lsp.lsp.server.CompletionItemLabelDetails
description: str
detail: str
class lsp.lsp.server.CompletionList
isIncomplete: bool
itemDefaults: CompletionListItemDefaults
class lsp.lsp.server.CompletionListItemDefaults
commitCharacters: list[str]
data: Any
editRange: Range | CompletionListItemDefaultsEditRange
insertTextFormat: Literal[1, 2]
insertTextMode: Literal[1, 2]
class lsp.lsp.server.CompletionListItemDefaultsEditRange
insert: Range
replace: Range
class lsp.lsp.server.CompletionOptions
allCommitCharacters: list[str]
completionItem: CompletionOptionsCompletionItem
resolveProvider: bool
triggerCharacters: list[str]
workDoneProgress: bool
class lsp.lsp.server.CompletionOptionsCompletionItem
labelDetailsSupport: bool
class lsp.lsp.server.CompletionParams
context: CompletionContext
partialResultToken: int | str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.CreateFile
annotationId: str
kind: Literal['create']
options: CreateFileOptions
uri: DocumentUri
class lsp.lsp.server.CreateFileOptions
ignoreIfExists: bool
overwrite: bool
class lsp.lsp.server.CreateFilesParams
files: list[lsp.lsp.server.FileCreate]
class lsp.lsp.server.DeclarationOptions
workDoneProgress: bool
class lsp.lsp.server.DeclarationParams
partialResultToken: int | str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.DeclarationRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.DefaultBehavior
defaultBehavior: bool
class lsp.lsp.server.DefinitionOptions
workDoneProgress: bool
class lsp.lsp.server.DefinitionParams
partialResultToken: int | str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.DeleteFile
annotationId: str
kind: Literal['delete']
options: DeleteFileOptions
uri: DocumentUri
class lsp.lsp.server.DeleteFileOptions
ignoreIfNotExists: bool
recursive: bool
class lsp.lsp.server.DeleteFilesParams
files: list[lsp.lsp.server.FileDelete]
class lsp.lsp.server.Diagnostic
code: int | str
codeDescription: CodeDescription
data: Any
message: str
range: Range
relatedInformation: list[lsp.lsp.server.DiagnosticRelatedInformation]
severity: Literal[1, 2, 3, 4]
source: str
tags: list[Literal[1, 2]]
class lsp.lsp.server.DiagnosticOptions
identifier: str
interFileDependencies: bool
workDoneProgress: bool
workspaceDiagnostics: bool
class lsp.lsp.server.DiagnosticRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
identifier: str
interFileDependencies: bool
workDoneProgress: bool
workspaceDiagnostics: bool
class lsp.lsp.server.DiagnosticRelatedInformation
location: Location
message: str
class lsp.lsp.server.DidChangeConfigurationParams
settings: Any
class lsp.lsp.server.DidChangeTextDocumentParams
contentChanges: list[lsp.lsp.server.TextDocumentContentChangeEventRange | lsp.lsp.server.TextDocumentContentChangeEventSimple]
textDocument: VersionedTextDocumentIdentifier
class lsp.lsp.server.DidChangeWatchedFilesParams
changes: list[lsp.lsp.server.FileEvent]
class lsp.lsp.server.DidChangeWorkspaceFoldersParams
event: WorkspaceFoldersChangeEvent
class lsp.lsp.server.DidCloseTextDocumentParams
textDocument: TextDocumentIdentifier
class lsp.lsp.server.DidOpenTextDocumentParams
textDocument: TextDocumentItem
class lsp.lsp.server.DidSaveTextDocumentParams
text: str
textDocument: TextDocumentIdentifier
class lsp.lsp.server.DocumentColorOptions
workDoneProgress: bool
class lsp.lsp.server.DocumentColorParams
color: Color
partialResultToken: int | str
range: Range
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.DocumentColorRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.DocumentFilter
language: str
pattern: str
scheme: str
class lsp.lsp.server.DocumentFormattingOptions
workDoneProgress: bool
class lsp.lsp.server.DocumentFormattingParams
options: FormattingOptions
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.DocumentHighlight
kind: Literal[1, 2, 3]
range: Range
class lsp.lsp.server.DocumentHighlightOptions
workDoneProgress: bool
class lsp.lsp.server.DocumentHighlightParams
partialResultToken: int | str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
data: Any
range: Range
target: URI
tooltip: str
class lsp.lsp.server.DocumentLinkOptions
resolveProvider: bool
workDoneProgress: bool
class lsp.lsp.server.DocumentLinkParams
partialResultToken: int | str
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.DocumentOnTypeFormattingOptions
firstTriggerCharacter: str
moreTriggerCharacter: list[str]
class lsp.lsp.server.DocumentOnTypeFormattingParams
ch: str
options: FormattingOptions
position: Position
textDocument: TextDocumentIdentifier
class lsp.lsp.server.DocumentRangeFormattingOptions
workDoneProgress: bool
class lsp.lsp.server.DocumentRangeFormattingParams
options: FormattingOptions
range: Range
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.DocumentSymbol
children: list[lsp.lsp.server.DocumentSymbol]
deprecated: bool
detail: str
kind: Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
name: str
range: Range
selectionRange: Range
tags: list[Literal[1]]
class lsp.lsp.server.DocumentSymbolOptions
label: str
workDoneProgress: bool
class lsp.lsp.server.DocumentSymbolParam
partialResultToken: int | str
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.ExecuteCommandOptions
commands: list[str]
workDoneProgress: bool
class lsp.lsp.server.ExecuteCommandParams
arguments: list[Any]
command: str
workDoneToken: int | str
class lsp.lsp.server.FileCreate
uri: str
class lsp.lsp.server.FileDelete
uri: str
class lsp.lsp.server.FileEvent
type: Literal[1, 2, 3]
uri: DocumentUri
class lsp.lsp.server.FileOperationFilter
pattern: FileOperationPattern
scheme: str
class lsp.lsp.server.FileOperationPattern
glob: str
matches: Literal['file', 'folder']
options: FileOperationPatternOptions
class lsp.lsp.server.FileOperationPatternOptions
ignoreCase: bool
class lsp.lsp.server.FileOperationRegistrationOptions
filters: list[lsp.lsp.server.FileOperationFilter]
class lsp.lsp.server.FileRename
newUri: str
oldUri: str
class lsp.lsp.server.FoldingRange
collapsedText: str
endCharacter: int
endLine: int
kind: Literal['comment', 'imports', 'region']
startCharacter: int
startLine: int
class lsp.lsp.server.FoldingRangeOptions
workDoneProgress: bool
class lsp.lsp.server.FoldingRangeParams
partialResultToken: int | str
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.FoldingRangeRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.FormattingOptions
insertFinalNewline: bool
insertSpaces: bool
tabSize: int
trimFinalNewlines: bool
trimTrailingWhitespace: bool
class lsp.lsp.server.Hover
contents: str | MarkedStringDict | list[str | lsp.lsp.server.MarkedStringDict] | MarkupContent
range: Range
class lsp.lsp.server.HoverOptions
workDoneProgress: bool
class lsp.lsp.server.HoverParams
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.ImplementationOptions
workDoneProgress: bool
class lsp.lsp.server.ImplementationParams
partialResultToken: int | str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.ImplementationRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.InlayHint
data: Any
kind: Literal[1, 2]
label: str | list[lsp.lsp.server.InlayHintLabelPart]
paddingLeft: bool
paddingRight: bool
position: Position
textEdits: list[lsp.lsp.server.TextEdit]
tooltip: str | MarkupContent
class lsp.lsp.server.InlayHintLabelPart
command: Command
location: Location
tooltip: str | MarkupContent
value: str
class lsp.lsp.server.InlayHintOptions
resolveProvider: bool
workDoneProgress: bool
class lsp.lsp.server.InlayHintParams
range: Range
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.InlayHintRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
resolveProvider: bool
workDoneProgress: bool
class lsp.lsp.server.InlineValueContext
frameId: int
stoppedLocation: Range
class lsp.lsp.server.InlineValueEvaluatableExpression
expression: str
range: Range
class lsp.lsp.server.InlineValueOptions
workDoneProgress: bool
class lsp.lsp.server.InlineValueParams
context: InlineValueContext
range: Range
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.InlineValueRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.InlineValueText
range: Range
text: str
class lsp.lsp.server.InlineValueVariableLookup
caseSensitiveLookup: bool
range: Range
variableName: str
class lsp.lsp.server.InsertReplaceEdit
insert: Range
newText: str
replace: Range
class lsp.lsp.server.LinkedEditingRangeOptions
workDoneProgress: bool
class lsp.lsp.server.LinkedEditingRangeParams
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.LinkedEditingRangeRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.LinkedEditingRanges
ranges: list[lsp.lsp.common.Range]
wordPattern: str
class lsp.lsp.server.MarkedStringDict
lanaguge: str
value: str
class lsp.lsp.server.MarkupContent
kind: Literal['plaintext', 'markdown']
value: str
class lsp.lsp.server.Moniker
identifier: str
kind: Literal['import', 'export', 'local']
scheme: str
unique: Literal['document', 'project', 'group', 'scheme', 'global']
class lsp.lsp.server.MonikerOptions
workDoneProgress: bool
class lsp.lsp.server.MonikerParams
partialResultToken: int | str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.MonikerRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
workDoneProgress: bool
class lsp.lsp.server.NotebookDocumentFilterRequireNotebookType
notebookType: str
pattern: str
scheme: str
class lsp.lsp.server.NotebookDocumentFilterRequirePattern
notebookType: str
pattern: str
scheme: str
class lsp.lsp.server.NotebookDocumentFilterRequireScheme
notebookType: str
pattern: str
scheme: str
class lsp.lsp.server.NotebookDocumentSyncOptions
notebookSelector: list[lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorOptionalCells | lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorOptionalNotebook]
save: bool
class lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorCells
langugage: str
class lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorOptionalCells
cells: list[lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorCells]
notebook: str | NotebookDocumentFilterRequireScheme | NotebookDocumentFilterRequireNotebookType | NotebookDocumentFilterRequirePattern
class lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorOptionalNotebook
cells: list[lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorCells]
notebook: str | NotebookDocumentFilterRequireScheme | NotebookDocumentFilterRequireNotebookType | NotebookDocumentFilterRequirePattern
class lsp.lsp.server.NotebookDocumentSyncRegistrationOptions
id: str
notebookSelector: list[lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorOptionalCells | lsp.lsp.server.NotebookDocumentSyncOptionsNotebookSelectorOptionalNotebook]
save: bool
class lsp.lsp.server.OptionalVersionedTextDocumentIdentifier
uri: DocumentUri
version: int | None
class lsp.lsp.server.ParameterInformation
documentation: str | MarkupContent
label: str | tuple[int, int]
class lsp.lsp.server.PartialResultParams
partialResultToken: int | str
class lsp.lsp.server.PrepareRenameParams
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.PrepareRenameResponsePlaceholder
placeholder: str
range: Range
class lsp.lsp.server.ReferenceContext
includeDeclaration: bool
class lsp.lsp.server.ReferenceOptions
workDoneProgress: bool
class lsp.lsp.server.ReferenceParams
context: ReferenceContext
partialResultToken: int | str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.RenameFile
annotationId: str
kind: Literal['rename']
newUri: DocumentUri
oldUri: DocumentUri
options: RenameFileOptions
class lsp.lsp.server.RenameFileOptions
ignoreIfExists: bool
overwrite: bool
class lsp.lsp.server.RenameFilesParams
files: list[lsp.lsp.server.FileRename]
class lsp.lsp.server.RenameOptions
prepareProvider: bool
workDoneProgress: bool
class lsp.lsp.server.RenameParams
newName: str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.SelectionRange
parent: SelectionRange
range: Range
class lsp.lsp.server.SelectionRangeOptions
workDoneProgress: bool
class lsp.lsp.server.SelectionRangeParams
partialResultToken: int | str
positions: list[lsp.lsp.common.Position]
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.SelectionRangeRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.SemanticTokens
data: list[int]
resultId: str
class lsp.lsp.server.SemanticTokensDelta
edits: list[lsp.lsp.server.SemanticTokensEdit]
resultId: str
class lsp.lsp.server.SemanticTokensDeltaParams
partialResultToken: int | str
previousResultId: str
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.SemanticTokensEdit
data: list[int]
deleteCount: int
start: int
class lsp.lsp.server.SemanticTokensLegend
tokenModifiers: list[str]
tokenTypes: list[str]
class lsp.lsp.server.SemanticTokensOptions
full: bool | SemanticTokensOptionsFull
legend: SemanticTokensLegend
range: bool | EmptyDict
workDoneProgress: bool
class lsp.lsp.server.SemanticTokensOptionsFull
delta: bool
workDoneProgress: bool
class lsp.lsp.server.SemanticTokensParams
partialResultToken: int | str
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.SemanticTokensRangeParams
partialResultToken: int | str
range: Range
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.SemanticTokensRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
full: bool | SemanticTokensOptionsFull
id: str
legend: SemanticTokensLegend
range: bool | EmptyDict
workDoneProgress: bool
class lsp.lsp.server.ServerCapabilities
callHierarchyProvider: bool | CallHierarchyOptions | CallHierarchyRegistrationOptions
codeActionProvider: bool | CodeActionOptions
codeLensProvider: CodeLensOptions
colorProvider: bool | DocumentColorOptions | DocumentColorRegistrationOptions
completionProvider: CompletionOptions
declarationProvider: bool | DeclarationOptions | DeclarationRegistrationOptions
definitionProvider: bool | DefinitionOptions
diagnosticProvider: DiagnosticOptions | DiagnosticRegistrationOptions
documentFormattingProvider: bool | DocumentFormattingOptions
documentHighlightProvider: bool | DocumentHighlightOptions
documentLinkProvider: DocumentLinkOptions
documentOnTypeFormattingProvider: DocumentOnTypeFormattingOptions
documentRangeFormattingProvider: bool | DocumentRangeFormattingOptions
documentSymbolProvider: bool | DocumentSymbolOptions
executeCommandProvider: ExecuteCommandOptions
experimental: Any
foldingRangeProvider: bool | FoldingRangeOptions | FoldingRangeRegistrationOptions
hoverProvider: bool | HoverOptions
implementationProvider: bool | ImplementationOptions | ImplementationRegistrationOptions
inlayHintProvider: bool | InlayHintOptions | InlayHintRegistrationOptions
inlineValueProvider: bool | InlineValueOptions | InlineValueRegistrationOptions
linkedEditingRangeProvider: bool | LinkedEditingRangeOptions | LinkedEditingRangeRegistrationOptions
monikerProvider: bool | MonikerOptions | MonikerRegistrationOptions
notebookDocumentSync: NotebookDocumentSyncOptions | NotebookDocumentSyncRegistrationOptions
positionEncoding: Literal['utf-8', 'utf-16', 'utf-32']
referencesProvider: bool | ReferenceOptions
renameProvider: bool | RenameOptions
selectionRangeProvider: bool | SelectionRangeOptions | SelectionRangeRegistrationOptions
semanticTokensProvider: SemanticTokensOptions | SemanticTokensRegistrationOptions
signatureHelpProvider: SignatureHelpOptions
textDocumentSync: TextDocumentSyncOptions | Literal[0, 1, 2]
typeDefinitionProvider: bool | TypeDefinitionOptions | TypeDefinitionRegistrationOptions
typeHierarchyProvider: bool | TypeHierarchyOptions | TypeHierarchyRegistrationOptions
workspace: ServerCapabilitiesWorkspace
workspaceSymbolProvider: bool | WorkspaceSymbolOptions
class lsp.lsp.server.ServerCapabilitiesWorkspace
fileOperations: ServerCapabilitiesWorkspaceFileOperations
workspaceFolders: WorkspaceFoldersServerCapabilities
class lsp.lsp.server.ServerCapabilitiesWorkspaceFileOperations
didCreate: FileOperationRegistrationOptions
didDelete: FileOperationRegistrationOptions
didRename: FileOperationRegistrationOptions
willCreate: FileOperationRegistrationOptions
willDelete: FileOperationRegistrationOptions
willRename: FileOperationRegistrationOptions
class lsp.lsp.server.SignatureHelp
activeParameter: int
activeSignature: int
signatures: list[lsp.lsp.server.SignatureInformation]
class lsp.lsp.server.SignatureHelpContext
activeSignatureHelp: SignatureHelp
isRetrigger: bool
triggerCharacter: str
triggerKind: Literal[1, 2, 3]
class lsp.lsp.server.SignatureHelpOptions
retriggerCharacters: list[str]
triggerCharacters: list[str]
workDoneProgress: bool
class lsp.lsp.server.SignatureHelpParams
context: SignatureHelpContext
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.SignatureInformation
activeParameter: int
documentation: str | MarkupContent
label: str
parameters: list[lsp.lsp.server.ParameterInformation]
class lsp.lsp.server.StaticRegistrationOptions
id: str
class lsp.lsp.server.SymbolInformation
containerName: str
deprecated: bool
kind: Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
location: Location
name: str
tags: list[Literal[1]]
class lsp.lsp.server.TextDocumentContentChangeEventRange
range: Range
rangeLength: int
text: str
class lsp.lsp.server.TextDocumentContentChangeEventSimple
text: str
class lsp.lsp.server.TextDocumentEdit
edits: list[lsp.lsp.server.TextEdit | lsp.lsp.server.AnnotatedTextEdit]
textDocument: OptionalVersionedTextDocumentIdentifier
class lsp.lsp.server.TextDocumentIdentifier
uri: DocumentUri
class lsp.lsp.server.TextDocumentItem
languageId: str
text: str
uri: DocumentUri
version: int
class lsp.lsp.server.TextDocumentPositionParams
position: Position
textDocument: TextDocumentIdentifier
class lsp.lsp.server.TextDocumentRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
class lsp.lsp.server.TextDocumentSyncOptions
change: Literal[0, 1, 2]
openClose: bool
class lsp.lsp.server.TextEdit
newText: str
range: Range
class lsp.lsp.server.TypeDefinitionOptions
workDoneProgress: bool
class lsp.lsp.server.TypeDefinitionParams
partialResultToken: int | str
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.TypeDefinitionRegistrationOptions
workDoneProgress: bool
class lsp.lsp.server.TypeHierarchyItem
data: Any
detail: str
kind: Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
name: str
range: Range
selectionRange: Range
tags: list[Literal[1]]
uri: DocumentUri
class lsp.lsp.server.TypeHierarchyOptions
workDoneProgress: bool
class lsp.lsp.server.TypeHierarchyPrepareParams
position: Position
textDocument: TextDocumentIdentifier
workDoneToken: int | str
class lsp.lsp.server.TypeHierarchyRegistrationOptions
documentSelector: list[lsp.lsp.server.DocumentFilter] | None
id: str
workDoneProgress: bool
class lsp.lsp.server.TypeHierarchySubtypesParams
item: TypeHierarchyItem
partialResultToken: int | str
workDoneToken: int | str
class lsp.lsp.server.TypeHierarchySupertypesParams
item: TypeHierarchyItem
partialResultToken: int | str
workDoneToken: int | str
class lsp.lsp.server.VersionedTextDocumentIdentifier
uri: DocumentUri
version: int
class lsp.lsp.server.WillSaveTextDocumentParams
reason: Literal[1, 2, 3]
textDocument: TextDocumentIdentifier
class lsp.lsp.server.WorkDoneProgressParams
workDoneToken: int | str
class lsp.lsp.server.WorkspaceEdit
changeAnnotations: dict[str, lsp.lsp.server.ChangeAnnotation]
changes: dict[lsp.lsp.common.DocumentUri, list[lsp.lsp.server.TextEdit]]
documentChanges: list[lsp.lsp.server.TextDocumentEdit] | list[lsp.lsp.server.TextDocumentEdit | lsp.lsp.server.CreateFile | lsp.lsp.server.RenameFile | lsp.lsp.server.DeleteFile]
class lsp.lsp.server.WorkspaceFoldersChangeEvent
added: list[lsp.lsp.common.WorkspaceFolder]
removed: list[lsp.lsp.common.WorkspaceFolder]
class lsp.lsp.server.WorkspaceFoldersServerCapabilities
changeNotifications: str | bool
supported: bool
class lsp.lsp.server.WorkspaceSymbol
containerName: str
data: Any
kind: Literal[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26]
location: Location | dict[str, lsp.lsp.common.DocumentUri]
name: str
tags: list[Literal[1]]
class lsp.lsp.server.WorkspaceSymbolOptions
resolveProvider: bool
workDoneProgress: bool
class lsp.lsp.server.WorkspaceSymbolParams
partialResultToken: int | str
query: str
workDoneToken: int | str