Expand description
External LSP proxy for completion engine
This module provides a proxy layer that routes completion requests to external LSP servers while maintaining backward compatibility with internal providers.
§Architecture
The proxy acts as a middleware between the completion engine and external LSP servers:
CompletionEngine
↓
ExternalLspCompletionProxy (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§
- External
LspCompletion Proxy - External LSP completion proxy
Traits§
- External
LspCompletion Client - Trait for external LSP completion client