Skip to content

fix: switch to gen-lsp-types#860

Merged
polarmutex merged 1 commit intopolarmutex:mainfrom
ribru17:gen-lsp-types
May 1, 2026
Merged

fix: switch to gen-lsp-types#860
polarmutex merged 1 commit intopolarmutex:mainfrom
ribru17:gen-lsp-types

Conversation

[gen-lsp-types](https://github.com/ribru17/gen-lsp-types) is an
alternative to the lsp-types crate, with types generated via codegen
from the official LSP Metamodel for correctness and completeness.

lsp-types issues fixed in gen-lsp-types:

- gluon-lang/lsp-types#310
- gluon-lang/lsp-types#308
- gluon-lang/lsp-types#284
- gluon-lang/lsp-types#278
- gluon-lang/lsp-types#277
- gluon-lang/lsp-types#260
- gluon-lang/lsp-types#245
- gluon-lang/lsp-types#93

See: wgsl-analyzer/wgsl-analyzer#1090 and
rust-lang/rust-analyzer#22115
@codecov
Copy link
Copy Markdown

codecov Bot commented May 1, 2026

Codecov Report

❌ Patch coverage is 78.45528% with 106 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.79%. Comparing base (d0d7e0c) to head (ad33f7b).
⚠️ Report is 19 commits behind head on main.

Files with missing lines Patch % Lines
crates/lsp/src/providers/text_document.rs 42.50% 23 Missing ⚠️
crates/lsp/src/handlers.rs 34.37% 21 Missing ⚠️
crates/lsp/src/server.rs 44.44% 15 Missing ⚠️
crates/lsp/src/progress.rs 0.00% 13 Missing ⚠️
crates/lsp/src/dispatcher.rs 70.83% 7 Missing ⚠️
crates/lsp/src/lib.rs 14.28% 6 Missing ⚠️
crates/lsp/src/providers/completion.rs 80.95% 4 Missing ⚠️
crates/lsp/src/providers/inlay_hints.rs 85.18% 4 Missing ⚠️
crates/lsp/src/providers/definition.rs 40.00% 3 Missing ⚠️
crates/lsp/src/providers/diagnostics.rs 62.50% 3 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #860      +/-   ##
==========================================
- Coverage   80.88%   80.79%   -0.09%     
==========================================
  Files          31       30       -1     
  Lines       12502    12559      +57     
==========================================
+ Hits        10112    10147      +35     
- Misses       2390     2412      +22     
Files with missing lines Coverage Δ
crates/lsp/src/capabilities.rs 95.97% <100.00%> (+0.06%) ⬆️
crates/lsp/src/document.rs 100.00% <100.00%> (ø)
crates/lsp/src/providers/folding_range.rs 96.55% <ø> (ø)
crates/lsp/src/providers/formatting.rs 92.15% <ø> (-0.01%) ⬇️
crates/lsp/src/providers/references.rs 92.09% <100.00%> (+0.09%) ⬆️
crates/lsp/src/providers/workspace_symbol.rs 96.90% <100.00%> (+0.19%) ⬆️
crates/lsp/src/treesitter_utils.rs 99.70% <100.00%> (+0.01%) ⬆️
crates/lsp/src/providers/hover.rs 90.75% <66.66%> (-0.53%) ⬇️
crates/lsp/src/providers/semantic_tokens.rs 97.11% <90.47%> (ø)
crates/lsp/src/providers/definition.rs 70.07% <40.00%> (ø)
... and 10 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@polarmutex polarmutex merged commit 8671145 into polarmutex:main May 1, 2026
14 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.

2 participants