Repository activity
40458 results across all weeks
fix(document-symbol): respect the client's supported symbol kinds
Constructors, exceptions and labels were returned as EnumMember and types as
emre (@dayangac)fix(dune): reconcile promotions by diagnostic
Dune attaches promotion metadata to individual diagnostics, but the server currently stores promotions only in a map keyed by source path. When two rules produce diagnostics that promote the same source, inserting the second promotion hits an assertion, aborts the whole diagnostic batch, and disconnects that Dune instance. #2087 records the resulting missing…
Rudi Grinberg (@rgrinberg)fix(folding-range): respect client folding range capabilities
Folding ranges were always built with character positions and a Region kind,
emre (@dayangac)fix(hover): resolve constructors and exceptions at their declaration
The hover iterator overrides type_declaration and value_description but
emre (@dayangac)fix(ocamlformat-rpc): degrade gracefully when the process dies at startup
An ocamlformat-rpc process that dies or produces garbage during startup
Rudi Grinberg (@rgrinberg)fix(semantic-highlighting): classify module names the iterator missed
Two module names receive no semantic token.
emre (@dayangac)fix(workspace-symbol): honor deprecation tags
Honor SymbolTag.Deprecated support in workspace-symbol responses. Emit the modern tag representation when advertised by the client, while retaining the legacy deprecated field as a fallback. Follow-up to #2112.
Rudi Grinberg (@rgrinberg)flake.lock: Update
Automated changes by the update-flake-lock GitHub Action.
github-actionslsp: add Experimental module
Add a small Lsp.Experimental interface for querying boolean flags from the free-form experimental field of the initialize request.
Rudi Grinberg (@rgrinberg)lsp: add client capability helpers
Add a Lsp.Capabilities module with accessors that collapse the repetitive navigation of the client capability tree, plus two small helpers:
Rudi Grinberg (@rgrinberg)refactor(lsp): add Lsp.Document_symbol protocol helpers
Move the generic parts of the server's document-symbol handling into a new
Rudi Grinberg (@rgrinberg)refactor(lsp): add Position logical conversions
Move the 0-based ↔ 1-based line conversion used when talking to Merlin into Lsp.Position as to_logical / of_logical.
Rudi Grinberg (@rgrinberg)refactor(lsp): move Range.resize_for_edit into Lsp.Range
Move Range.resize_for_edit from the server into Lsp.Range. The range covered by a TextEdit after application is protocol-adjacent text math, useful for undoing or chaining edits, so it belongs in the shared library rather than ocamllsp.
Rudi Grinberg (@rgrinberg)refactor(lsp): move code-action kind filtering
Depends on #2108.
Rudi Grinberg (@rgrinberg)refactor(lsp): move deprecation compatibility helpers
Move the generic conversion between LSP's deprecated field and tag representations into Lsp.Deprecation and expose it through the server's LSP import namespace.
Rudi Grinberg (@rgrinberg)refactor(lsp): move workspace-folder state
Move workspace-folder initialization, dynamic updates, and
Rudi Grinberg (@rgrinberg)refactor(lsp-fiber): add Server.not_supported
Move the shared MethodNotFound response helper into Lsp_fiber.Server and use it for the server’s unsupported request handlers. This removes the duplicated local implementation while preserving the existing behavior.
Rudi Grinberg (@rgrinberg)test(code-actions): cover the create-counterpart client capabilities
Nothing exercised a client that can apply a CreateFile resource operation: the
emre (@dayangac)test(completion): cover keyword, construct and non-Merlin completion
Cover three completion paths:
Rudi Grinberg (@rgrinberg)test(completion-resolve): cover markdown documentation format
Cover the markdown branch of completion resolve: when the client advertises
Rudi Grinberg (@rgrinberg)