-
v0.65.8
Stablereleased this
2026-11-19 11:53:54 -08:00 | 5 commits to master since this releaseFind References next to a name, edits kept in order, and a startup that could take minutes
(
docs/features/scan-ordering; TODO §71.7. Three bugs, all older than this
series of releases.)- Find All References, Go to Definition, hover, highlight and rename work
with the cursor just after a name. A double-click, a click on the right
half of a name's last letter, or a click on a row of lucisv's References
view leaves the cursor there, and the server used to look at the character
after the name — so VS Code said "No references found" until you clicked
away and back. Nine requests now resolve the name the cursor touches
(hover, definition, type definition, references, document highlight,
prepare-rename, rename, and the call- and type-hierarchy prepares); the
ones with boundary rules of their own (completion, signature help, linked
editing, selection range) are unchanged. The References view now opens a
row with the cursor at the start of the name. Checked on every identifier
of 350 files: the answer at the end of a name equals the answer at its
start, and a rename there never touches the neighbouring token. - Edits made while the workspace is re-indexing are applied in order.
The server held requests during a scan but applied notifications at once,
so a newer edit could overtake an older one still queued — and since the
editor sends edits as differences, the server's copy of the file then
differed from the editor's until the file was closed and reopened: wrong
symbols, wrong diagnostics, wrong references. Edits, opens, closes, saves
and the other notifications the editor sends are now applied in the order
sent. QA's independent driver: 9 118 bursts, 87 % of them sent mid-scan,
no wrong text, no lost or duplicated answer; the same check fails on
0.65.7 at once. - Opening a file while the first index is built no longer makes that index
take minutes. A request followed by a file open in the same batch was
handed back and re-held at every file of the startup scan: about 300–400 s
on OpenTitan instead of 2 s. Now a held batch is handed back at most once
per file actually opened; the same sequence takes 2.6–3.3 s. - Known and left for later, all present before: a request held during a
scan is answered against the newest text, so a position-based request can
land on a different symbol if an edit moved the text under it (and rename
edits carry no document version for the client to reject a stale one by);
deleting a directory is not seen by the server (VS Code reports the folder,
which the client's source-file filter drops); an excluded file stays in the
index after it is closed; symlinked files can be held under two spellings;
renaming a port of a module defined twice gives an edit or a refusal at
random.
Downloads
- Find All References, Go to Definition, hover, highlight and rename work