Code reference detail
comments.rs
reqlan rq/extension/language/comment-references/crates/reqlan-lsp/src/session/comments.rs
| Idea | Status | Tags | Summary | Katz |
|---|---|---|---|---|
| comment_reference_qualified_token_links | done | A resolved `rq:["path".idea]` comment site is two links, not one span over `rq:[…]`. Document-link and definition origin ranges cover the quoted path string and the idea id only — same token rule as body qualified refs ( ["../syntax/features-syntax-highlighting.rq".editor_reference_activation] ). Path navigates to the file; idea navigates to the declaration. When that file exists and does not declare the idea, the error underline covers the idea id only. The path stays a link. The idea is not a link. A missing path underlines the path token only. Unqualified `rq:[idea]` underlines the idea id only. Related: [references_in_functional_code_comments], [comment_reference_resolution_error_state]. | 0.077 | |
| comment_reference_resolution_error_state | done | [comment_reference_resolution_error] One resolution reads the target file and looks up the idea in that same read. Links, definition, and the error underline use that result. A found file stays on that result when the idea is absent ( [comment_reference_qualified_token_links] ). When you create an idea that matches a comment reference, clear the underline and the missing-idea message. | 0.057 |
Reference labels
comment_reference_qualified_token_links, comment_reference_resolution_error_state