Attribute Macro tower_lsp_macros::rpc

source ·
#[rpc]
Expand description

Macro for generating LSP server implementation from lsp-types.

This procedural macro annotates the tower_lsp::LanguageServer trait and generates a corresponding register_lsp_methods() function which registers all the methods on that trait as RPC handlers.