Expand description
LSP Proxy for external LSP server integration
This module provides a proxy layer that routes requests to external LSP servers while maintaining backward compatibility with internal providers.
§Architecture
The proxy acts as a middleware between ricecoder’s LSP server and external LSP servers:
ricecoder-lsp (LspServer)
↓
LspProxy (routes requests)
↓
External LSP Servers (rust-analyzer, tsserver, pylsp, etc.)§Request Routing
Requests are routed based on language:
- If external LSP is configured for the language → forward to external LSP
- If external LSP is unavailable → fall back to internal provider
- If no external LSP configured → use internal provider
Structs§
- LspProxy
- LSP Proxy for routing requests to external LSP servers
Traits§
- External
LspClient - Trait for external LSP client