Repository navigation
v0.7.0
What's new
Config file
- A JSON Schema for
.languagecheck.yamlis generated from the core (62e5fb6) language-check config schemaprints it (bae63b2)- The extension registers the schema for JSON and YAML config files (0bba187) and suggests Red Hat YAML for completion (542c005)
config filesnames the config file in force (064afc3, 19feeb8)- The extension shows the config in force and the files it selects (2a70f93)
- The extension says when a config file is not in effect (c8350e9)
- Config edits go through a YAML parser instead of text replacement (193caa1)
Diagnosing the setup
- Initialize reports what it could not set up, and which process holds the index (35e233b)
- The extension says when another server holds the workspace, and which one (b260818)
- The extension warns when another copy of it is installed (21cf42c)
SpeedFix and Inspector
- SpeedFix lists its keys behind
?and keeps a narrow header tidy (6c832df) - Keyboard shortcuts display in Apple style on macOS (1020e78)
- Example images have a preview (d5322b6)
- The Inspector's buttons act on the document it shows (62161fd)
- The Inspector's tabs scroll instead of clipping (f1498c8)
- The Inspector's ranges stay in step with the document (cc0347a)
- A closed document's Inspector data is dropped (c473c4f)
Fixes
- Prose commands no longer produce false diagnostics in command arguments (5f0468a)
- Schema-only documents are re-checked on save (9a79362)
- The public API sees the current core client (f8340f7) and reports the core's severities correctly (3968bc9)
- LanguageTool is offered only when the config has not enabled it (c67b6e4)
- The LanguageTool health indicator stays on the status bar (4d33a70), and LanguageTool coming back is noticed without a re-check (6e60960)
- Initialize failures nobody awaits are reported (d94c7db)
- The save listener is disposed with the extension (0c7a94e)
- A bad frame no longer breaks the server's protocol (35d6a79), and the extension recovers from an unreadable response instead of hanging (7844eb1)
- Byte offsets convert to characters in constant time (f30fe63)
Parser robustness
- Every grammar is fuzzed with malformed documents (79c38c5)
- Oversized ranges split on a character boundary (6b56f6c)
- Markdown nesting stays within what the parser survives (06e2194), including on lines ended by a lone CR (1f41771)
- The Typst scanner's saved state stays within its buffer (01cceb0)
- An unclosed Forester inline math no longer panics (7951a91)
- reStructuredText parsing stays linear on long unbroken runs (16dfc90)
Documentation
- German docs locale (5635c9c)
- Completion and validation for the config file (b191138)
- The extension's source layout (d3b850b)
- Which config applies (6a00818)
Maintenance
extension.tsis split into modules, reduced to a composition root (40ac226 and the commits before it)- Commands and settings are typed, generated from
package.json(7eef71d, fca8952) - Byte and character offsets, language tags, URI keys and diagnostic ids are branded types (17c8349, 77c8ca2, 380c800, 98112a2)
- jscpd and lint rules guard against duplication and against regressing the split (2e68503, 1749f36)
- SpeedFix and the Inspector have UI tests that drive their webviews (88ea1cb, 0b30ce2)
- End-to-end benchmarks, kept out of CI (0cdce37)
- Duplicated core helpers are shared (041774d, 2a5d5f6, 444559f, 86cd3db)
- The Crowdin integration is dropped (1a3aad5)
Full Changelog: v0.6.2...v0.7.0
Full Changelog: v0.6.2...v0.7.0