Skip to content

feat: add LSP server for IDE integration#6

Merged
omarabid merged 10 commits intomasterfrom
lsp-server
Mar 2, 2026
Merged

feat: add LSP server for IDE integration#6
omarabid merged 10 commits intomasterfrom
lsp-server

Conversation

@omarabid
Copy link
Contributor

@omarabid omarabid commented Mar 1, 2026

Add tower-lsp based Language Server Protocol implementation to provide CODEOWNERS information directly in supported editors. Includes optional 'lsp' feature flag and new ci lsp command to start the server.

omarabid added 10 commits March 1, 2026 15:54
Add tower-lsp based Language Server Protocol implementation to provide
CODEOWNERS information directly in supported editors. Includes optional
'lsp' feature flag and new `ci lsp` command to start the server.
Move LSP server initialization into dedicated command handler module.
Remove tower-lsp and tokio from default features to avoid bundling
unused code when LSP is not needed.
Replace scattered quiet parameter passing with a unified output module
that checks AppConfig.quiet. Add -q/--quiet CLI flag and automatic
quiet mode for LSP server.
Use consistent cache_path format instead of checking multiple path
variations. The cache always stores paths with "./" prefix, so we
only need to match against that single format.
Move progress/status messages to stderr to keep stdout clean for
LSP protocol communication. This eliminates the need to set quiet
mode in the LSP server startup.
Add explicit schema type annotations for PathBuf and HashMap fields
required by utoipa 5.x's stricter type handling.
Replace unwrap() with ok() and pattern matching to gracefully handle
serialization failures instead of panicking.
The hidden --stdio argument was never used, so remove it to simplify
the command interface.
Add optional --port flag to start LSP server over TCP instead of stdio,
enabling remote editor connections and easier debugging.
Add GitHub Actions workflow for building and releasing LSP server
binaries for Linux, Windows, and macOS (x64 and arm64). Upgrade
workspace dependencies to latest versions including rayon, tokio,
clap, and various other crates.
@omarabid omarabid merged commit dcacac8 into master Mar 2, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant