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