Skip to content

Changelog

Changelog1 min read

Version [Unreleased] Latest

Added

  • LSP workspace folders (workspace.workspaceFolders + workspace/didChangeWorkspaceFolders): the session records the folder set it serves — seeded from the client’s initialize folder list (the deprecated rootUri as the fallback) and re-derived on change events (known removals drop, unknown removals skip, re-adds keep their first recording) — and answers which recorded folders contain a path, the scoping primitive per-folder work slots into. Folders are session metadata keyed by the spelled path; a folder whose URI does not resolve to a file path is skipped, never invented.
  • LSP document color (textDocument/documentColor + textDocument/colorPresentation): every string literal that spells a hex color payload (#RGB, #RGBA, #RRGGBB, #RRGGBBAA) answers as the swatch site an editor renders inline (the payload extent, quotes excluded), and the picker’s recolor echo answers the canonical lowercase hex spelling over the reported extent — one notation, one presentation. The capability walks the stored parse trees, so it works on broken code; a presentation over a range no site occupies is never offered.
  • LSP document links (textDocument/documentLink): the string literals of the file-taking builtin macros (include!, include_str!, include_bytes!) become clickable file links, resolved against the containing document’s directory (absolute literals as-is). Non-file macros and non-literal arguments answer no link; the capability walks the stored parse trees, so it works on broken code.
  • LSP linked editing ranges (textDocument/linkedEditingRange): same-scope occurrences of the cursor’s symbol answer as one edit group for multi-cursor editing, composing the document-highlight occurrence seam (the reference graph’s T129 scope-owner filter included).

Fixed

  • Site getting-started tutorial (en/fr) now states the real MSRV (1.95, matching Cargo.toml and the CI msrv job) instead of the stale 1.94/1.85 pair.
  • README + site language reference (en/fr) now list every registered builtin macro (format!, vec!, matches!, the assert! family, write!/writeln!) and note the stdlib’s declarative println!/print!/eprintln!/eprint!/panic!.
  • Site crate reference (en/fr) now covers the tools/ harnesses (glyim-ledger, glyim-bench, glyim-metrics, glyim-pilot, ledger-schema).
  • glyim-lsp no longer silently swallows rejected analysis sends and publish-diagnostics notifications: both surface a tracing::warn naming the affected file.