LspServer
Section titled “LspServer”class LspServer()Synchronous LspServer.
LspServer.__init__
Section titled “LspServer.__init__”def __init__(impl: AsyncLspServer, bridge: SyncBridge) -> NoneLspServer.completions
Section titled “LspServer.completions”def completions(uri: str, position: LspPosition | Mapping[str, int], *, context: JsonValue | None = None) -> LspCompletionListLspServer.did_close
Section titled “LspServer.did_close”def did_close(uri: str) -> NoneLspServer.did_open
Section titled “LspServer.did_open”def did_open(uri: str) -> NoneLspServer.document_symbols
Section titled “LspServer.document_symbols”def document_symbols(uri: str) -> list[LspSymbol]LspServer.stop
Section titled “LspServer.stop”def stop() -> NoneLspServer.workspace_symbols
Section titled “LspServer.workspace_symbols”def workspace_symbols(query: str) -> list[LspSymbol]AsyncLspServer
Section titled “AsyncLspServer”class AsyncLspServer()AsyncLspServer.__init__
Section titled “AsyncLspServer.__init__”def __init__(transport: AsyncTransport, language_id: str, path_to_project: str) -> NoneAsyncLspServer.did_open
Section titled “AsyncLspServer.did_open”async def did_open(uri: str) -> NoneAsyncLspServer.did_close
Section titled “AsyncLspServer.did_close”async def did_close(uri: str) -> NoneAsyncLspServer.completions
Section titled “AsyncLspServer.completions”async def completions(uri: str, position: LspPosition | Mapping[str, int], *, context: JsonValue | None = None) -> LspCompletionListAsyncLspServer.document_symbols
Section titled “AsyncLspServer.document_symbols”async def document_symbols(uri: str) -> list[LspSymbol]AsyncLspServer.workspace_symbols
Section titled “AsyncLspServer.workspace_symbols”async def workspace_symbols(query: str) -> list[LspSymbol]AsyncLspServer.stop
Section titled “AsyncLspServer.stop”async def stop() -> NoneLspService
Section titled “LspService”class LspService()Synchronous LspService.
LspService.__init__
Section titled “LspService.__init__”def __init__(impl: AsyncLspService, bridge: SyncBridge) -> NoneLspService.start
Section titled “LspService.start”def start(language_id: str, path_to_project: str) -> LspServerAsyncLspService
Section titled “AsyncLspService”class AsyncLspService()AsyncLspService.__init__
Section titled “AsyncLspService.__init__”def __init__(transport: AsyncTransport) -> NoneAsyncLspService.start
Section titled “AsyncLspService.start”async def start(language_id: str, path_to_project: str) -> AsyncLspServerLspPosition: TypeAlias
Section titled “LspPosition: TypeAlias”LspPosition = SymbolPositionLspRange: TypeAlias
Section titled “LspRange: TypeAlias”LspRange = SymbolRangeLspLocation: TypeAlias
Section titled “LspLocation: TypeAlias”LspLocation = SymbolLocationLspSymbol: TypeAlias
Section titled “LspSymbol: TypeAlias”LspSymbol = SymbolInfoLspCompletionItem: TypeAlias
Section titled “LspCompletionItem: TypeAlias”LspCompletionItem = CompletionItemLspCompletionList: TypeAlias
Section titled “LspCompletionList: TypeAlias”LspCompletionList = CompletionList