Idea detail
missing_reference_colour_sequence
reqlan rq/extension/language/support/open-file-sequencing.rq:227
Summary
Paint links and errors in two steps.
The hot path paints same-file names and import targets ( outbound_one_hop ).
The background pass paints qualified-reference idea lines ( lazy_features_after_outbound ).
Related: unresolved_reference_diagnostics, reference_rendering,
file_reference_errors, import_does_not_exist_error.
Hot path:
- URL references: document link, no error.
- Wildcard references: document link, no error underline for zero matches.
- Import path missing: error underline, no document link.
- Imported idea present: document link to that idea line.
- Imported idea missing: error underline, no document link.
- Same-file idea missing: error underline, no document link.
- Qualified reference: document link to the file from the path token.
Do not underline a missing idea yet.
Background pass:
- Qualified idea present: document link to that idea line.
- Qualified idea missing: error underline, and remove the document link.
- Drop a false missing-idea error only for the range that this pass confirms.
Keep a different missing name on the same line.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | analysis.rs, session.rs, reqlan-outbound-presentation.ts, reqlan-document-link-provider.ts |
| status | done |
| tests | parity.rs:missing_file_references_do_not_produce_document_links, outbound-hop.test.ts:keeps URL and wildcard document links, outbound-hop.test.ts:keeps a missing idea error on the same line as a confirmed neighbor idea, local-symbolic-links.test.ts:unresolved same-file ideas get no document link |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | open_file_algorithm | reqlan rq/extension/language/support/open-file-sequencing.rq | missing_reference_colour_sequence |
| references | token_colour_sequence | reqlan rq/extension/language/support/open-file-sequencing.rq | missing_reference_colour_sequence |
| references | lazy_features_after_outbound | reqlan rq/extension/language/support/open-file-sequencing.rq | missing_reference_colour_sequence |
| references | unresolved_reference_diagnostics | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | missing_reference_colour_sequence |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…