Idea detail
comment_reference_resolution_error
reqlan rq/language/syntax.rq:600
block
done
Summary
If a comment reference cannot be resolved, show it as an error diagnostic.
Do not create a document link to a missing file ( that underline then raises a generic cannot-find-file editor error ).
Related: comment_reference, comment_reference_ignore, comment_reference, references_in_functional_code_comments.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | reqlan-comment-diagnostics.ts, register-comment-reference-links.ts |
| status | done |
| tests | comment-reference-resolution.test.ts, comment-reference-resolution.test.ts:reports an error when a comment reference file does not exist, comment-reference-resolution.test.ts:does not create a document link for a missing comment reference file, comment-reference-resolution.test.ts:creates a document link when the comment reference file and idea exist, comment-reference-resolution.test.ts:reports an error when the comment reference idea is missing from the file, rq-ignore-error, comment-reference-resolution.test.ts:reports a missing comment reference file in a loaded document, comment-reference-resolution.test.ts:reports a missing comment reference idea in a loaded file, comment-reference-resolution.test.ts:accepts a resolved comment reference in a loaded document |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | test_references | reqlan rq/core_analysis/core.rq | comment_reference_resolution_error |
| references | comment_reference_resolution_error_state | reqlan rq/extension/language/comment-references/functional-code-comment-references.rq | comment_reference_resolution_error |
| references | file_reference_errors | reqlan rq/extension/language/support/language-server-errors.rq | comment_reference_resolution_error |
| references | comment_reference | reqlan rq/language/syntax.rq | comment_reference_resolution_error |
| references | comment_reference | reqlan rq/reference_types.rq | comment_reference_resolution_error |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…