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