-
v0.65.10
Stablereleased this
2026-11-19 13:17:23 -08:00 | 3 commits to master since this releaseHighlighting no longer waits for the index
(
docs/features/viewport-highlight; TODO §71.3. Measured on OpenTitan'shw
tree with the server driven the way VS Code drives it.)-
Colours arrive at once. Building a file's colours takes 0.3–6.5 ms;
nearly all of the wait before first colour was the server holding every
request until the index was ready. A colouring request for a buffer whose
text is current is now answered from that buffer alone, even while a scan
or a widening of the index holds everything else.first colour after opening a file before now cold start, whole-workspace scope 660–685 ms 3.5–39 ms cold start, folder scope (the default) 38–74 ms 3–32 ms a file opened after startup settled, folder scope 611–641 ms 2–32 ms a file in a folder not indexed yet, mid-session 375 ms 6 ms while a rescan runs 325–791 ms 70–159 ms The larger figure in each range is a 545 KB file, whose own parse is most
of what remains. -
Imperfect first, then corrected — once. Before the index settles,
names that resolve through it (a module or package in another file, an
inherited method) are coloured as local guesses: 96.8 % of tokens already
match the final answer, and nothing is ever coloured as code inside a
comment or a string. When the index settles the server sends one
workspace/semanticTokens/refreshand the editor's next answer is the
accurate one. This also fixes colours that used to stay wrong until the
next edit: the first answer was built from a half-finished index and never
revisited (2 745 tokens in one OpenTitan file). -
The viewport request costs the viewport.
semanticTokens/rangebuilt
the whole file's tokens and filtered them; it now classifies only the
visible lines (0.3 ms for 60 lines of a 4 000-module buffer, against 98 ms). -
What it will not do. A buffer with edits the server has not applied
yet still waits — its existing colours stay on screen. An editor that
cannot be asked to refresh gets early viewport colours only, and its
whole-file answer waits as before. Hover, go-to-definition and every other
request still wait for the index they need; QA compared 978 such answers
with 0.65.8's and they are identical. -
Still to come. The file-discovery walk at the start of every scan
answers nothing while it runs, which is what is left of the wait in
whole-workspace scope (62–86 ms for a late open) and during rescans. Not
yet seen in a running editor by a human.
Downloads
-