You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Integration testing with actual language servers (diagnostics, hover, completion)
98
+
- Backend-specific configuration and behavior validation
84
99
85
100
### Dependencies
86
101
@@ -93,6 +108,14 @@ This is a zero-dependency Python library providing typed LSP (Language Server Pr
93
108
### Important Notes
94
109
95
110
- Always prefix test commands with `uv run`
96
-
- Pool tests require `pyright-langserver`binary available in PATH
111
+
- Pool tests require `pyright-langserver`and/or `pyrefly` binaries available in PATH
97
112
- Type generation requires Python 3.11+ for modern TypedDict features
98
113
- Generated types should not be manually edited - regenerate from schemas
114
+
115
+
### Architecture Design Patterns
116
+
117
+
**Backend Pattern**: LSP server integrations use the `LSPBackend` protocol to separate backend-specific logic (configuration formats, command-line arguments, capabilities) from common session management. This enables:
118
+
- Code reuse across different LSP implementations
119
+
- Easy addition of new LSP backends
120
+
- Consistent API while supporting diverse configuration needs
0 commit comments