Idea detail
comment_reference_resolution_error_state
reqlan rq/extension/language/comment-references/functional-code-comment-references.rq:104
block
done
Summary
comment_reference_resolution_error
The language server must share one resolution result for clickable links and the error underline.
Resolve comment references once against the loaded idea index, then reuse that result for both consumers.
When you create an idea that matches a comment reference, the language server must clear the underline and the missing-idea message.
Resolution and the index should be performed once and shared between consumers.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | reqlan-comment-diagnostics.ts, reqlan-neighbor-parse.ts, reqlan-document-builder.ts, reqlan-document-link-provider.ts, reqlan-validator.ts, register-comment-reference-links.ts, session.rs, comment.rs |
| status | done |
| tests | comment-reference-resolution.test.ts:shares one presentation so a matching idea clears the underline and adds a link, comment-reference-resolution.test.ts:publishes a missing-idea diagnostic and no document link until the idea exists, comment-reference-resolution.test.ts:clears the underline and creates a link after a matching idea is added, comment-reference-resolution.test.ts:relinks comment references only when the target file changes, comment-reference-resolution.test.ts:revalidates comment-reference underlines when a matching idea is created on disk, outbound-hop.test.ts:comment references confirm the neighbor idea without loading Langium, session.rs:comment_links_share_one_resolution, session.rs:comment_definition_follows_a_resolved_rq_reference |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | comment_backlink_sequence | reqlan rq/extension/language/support/open-file-sequencing.rq | comment_reference_resolution_error_state |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…