Idea detail
comment_reference_qualified_token_links
reqlan rq/extension/language/comment-references/functional-code-comment-references.rq:167
Summary
A resolved `rq: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 ( 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.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | session.rs, analysis.rs |
| status | done |
| tests | session.rs:comment_links_share_one_resolution, session.rs:qualified_comment_links_cover_path_and_idea_tokens, session.rs:qualified_comment_definition_origin_is_the_token_under_the_cursor, session.rs:qualified_comment_missing_idea_underlines_the_idea_token |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | references_in_functional_code_comments | reqlan rq/extension/language/comment-references/functional-code-comment-references.rq | comment_reference_qualified_token_links |
| references | comment_reference_resolution_error_state | reqlan rq/extension/language/comment-references/functional-code-comment-references.rq | comment_reference_qualified_token_links |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…