Mark same-file definitions in semantic tokens
The server legend gains a declaration modifier, and EditorDiagnostics emits the definition-name token with it when the definition lies in the same document. No type token is emitted because the canonical type has no source span. Registered tests cover modifier encoding and the overlap rule; a real stdio session showed the modifier on both definition names.
This commit is contained in:
1 parent
2cced8363d
commit
816c38da1e
7 files changed
+54
-10
No files matched your search
@@ -39,7 +39,7 @@ missing part. Updated December 5, 2026 after semantic tokens and inlay hints.
|
||||
| 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 |
|
||||
| `EditorDiagnostics` reflection LSP wiring | the server has no reflection data source |
|
||||
| semantic token modifiers / richer token types | legend is one type (`function`) from occurrences |
|
||||
| richer token types | legend is one type (`function`) plus a `declaration` modifier; type tokens need compiler-provided spans |
|
||||
| textDocument/formatting | no formatter is available; needs a dependency decision |
|
||||
|
||||
## Next slices
|
||||
|
||||
Reference in new issue
Block a user