Tokenize observer-reported type names

The semantic token legend gains a type entry, and the server emits it
for each class name span reported by the observer when it lies in the
open document. The canonical type itself is still not tokenized
because it has no source span. Registered tests cover the legend index,
and a real stdio session decoded the class names as type tokens beside
the function and declaration tokens.
This commit is contained in:
faumaray committed 2026-12-05 23:56:39 +03:00
1 parent 86b9923532
commit 4b534c61ae
7 files changed
+37 -3

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ missing part. Updated December 5, 2026 after semantic tokens and inlay hints.
| callHierarchy / typeHierarchy | prepare, incomingCalls and outgoingCalls are implemented and served; outgoing calls are verified over stdio now that the observer reports full function extents. Type hierarchy is open. |
| Client-side application of server-issued workspace edits | rename and code actions return edits the clients apply directly |
| Applying multi-file renames through client buffers | plans can be ready; application is client work |
| richer token types | legend is one type (`function`) plus a `declaration` modifier; type tokens need compiler-provided spans |
| richer token types | legend has `function` and `type` plus a `declaration` modifier; more types/modifiers need further compiler spans |
## Next slices