reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

comment_support

reqlan rq/extension/language/syntax/features-syntax.rq:71

Katz 0.059

The extension should recognise reqlan references embedded in comments of arbitrary source files.
Comment reference syntax should follow the form rq, then a quoted path, then a dotted idea name in line comments.
Qualified comment paths must resolve import-root aliases such as `@/` the same way imports do — configuration_import_root_alias, comment_reference_import_root_alias.
Comment references in non-. rq files should support syntax highlighting ( resting underline: comment_reference_resting_underline ), hover, and go-to-definition.
Arbitrary file references should be supported from both. rq files and comment references.

implementation
register-comment-reference-links.ts, comment-reference-path-context.ts, reqlan-comment-diagnostics.ts, reqlan-path-resolve.ts
tests
against the workspace folder for extension comment links, comment-reference-resolution.test.ts:creates a document link for an import-root aliased comment reference

Interactive page: comment_support