Skip to content

v0.2.0 LSP Bump - #1

Merged
montymxb merged 19 commits into
mainfrom
additional-commands
Nov 9, 2026
Merged

montymxb merged 19 commits into
mainfrom
additional-commands

Conversation

@montymxb

@montymxb montymxb commented Nov 9, 2026

Copy link
Copy Markdown
Member

lsbench v0.2.0: broader LSP coverage

Expands BenchContext from 11 to 46 methods, covering nearly all LSP requests, and hardens the harness.

Added

  • Requests: declaration, documentHighlight, prepareRename, range/on-type formatting, folding/selection ranges, document links, code lens, inlay hints, semantic tokens (full/range/delta), workspace symbols, call & type hierarchy, pull diagnostics
  • Resolve helpers: completion items, code actions, code lens, inlay hints, document links, workspace symbols
  • Save lifecycle: saveDocument, willSave, willSaveWaitUntil, honoring the server's static and dynamic save options
  • Server to client handling: refresh requests, progress creation, showMessageRequest, applyEdit, unregisterCapability
  • Integration suite against Langium's grammar language server, alongside minilogo, both run in CI

Fixed

  • stop() never force-killed servers that ignore SIGTERM
  • addRegisteredLanguage stored its mapping backwards
  • edit() now keeps the tracked document text in sync
  • codeAction code filtering also matches diagnostic.data.code (Langium quick fixes)

Behavior changes

  • saveDocument only sends didSave when the server asks for it
  • Resolve support is now advertised for code actions, inlay hints and workspace symbols, so some servers may defer work to resolve requests and those timings may shift versus v0.1.0
  • Pull diagnostics capability is intentionally not advertised, so waitForDiagnostics keeps working

Docs

  • README, CLI help, examples and CHANGELOG updated. Removed docs for an unsupported JSON server config file.

🤖 Generated with Claude Code

montymxb and others added 19 commits November 9, 2026 10:01
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…dit requests

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ling

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…Save/willSaveWaitUntil

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@montymxb
montymxb marked this pull request as ready for review November 9, 2026 10:42
@montymxb
montymxb merged commit b031cd0 into main Nov 9, 2026
2 checks passed
@montymxb
montymxb deleted the additional-commands branch November 9, 2026 10:47
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