Code reference detail
utf8-lsp-offset.test.ts
reqlan rq/extension/language/syntax/packages/language/test/utf8-lsp-offset.test.ts
| Idea | Status | Tags | Summary | Katz |
|---|---|---|---|---|
| reference_underline_syntax_align | done | Idea document-link and error underlines must cover the same UTF-16 range as the syntax token ( Langium `$refNode` / semantic token ), including when non-ASCII text appears earlier in the file. Native extract spans are UTF-8 byte offsets ( ["../../../indexer/indexer.rq".local_symbolic_analysis] ); LSP `Position.character` is UTF-16. Convert before `positionAt` so the underline does not drift off the token. Related: [non_web_reference_navigation], [reference_document_links], [unresolved_reference_diagnostics], [aliased_from_import_ctrl_click]. | 0.125 |
Reference labels
reference_underline_syntax_align