Idea detail
file_reference_errors
reqlan rq/extension/language/support/language-server-errors.rq:12
block
done
Summary
If a file_reference is not found, is broken, or cannot be resolved, the language server must show an underline.
Do not show the underline when comment_reference_ignore ( `//rq-ignore-error` ) is on the line before.
Missing files: error underline, no document link.
Do not underline examples inside inline_code or code_snippets.
Empty files and files with parse errors: warning underline; the document link stays.
Import-root aliases such as `@/` resolve the same way as check and configuration_import_root_alias.
Related: general_errors, comment_reference_resolution_error, inline_code,
import_does_not_exist_error,
file_references.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | reqlan-validator.ts, reqlan-file-link-resolver.ts, reqlan-document-link-provider.ts, reqlan-ignore-error.ts, reqlan-embedded-file-references.ts, analysis.rs, path_resolve.rs |
| status | done |
| tests | linking.test.ts:missing file references do not produce document links, rq-ignore-error, linking.test.ts:remote file references are not reported as missing, linking.test.ts:empty file references produce document links and warning diagnostics, linking.test.ts:parse-error file references produce document links and warning diagnostics, ignore-error.test.ts:reports a missing file reference as an error, rq-ignore-error, ignore-error.test.ts:does not report file references inside inline code, parity.rs:import_root_alias_file_refs_match_check, parity.rs:import_root_config_file_refs_match_check, broken_references.rs:check_accepts_import_root_alias_file_refs, broken_references.rs:check_honours_import_roots_from_applying_config |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | missing_reference_colour_sequence | reqlan rq/extension/language/support/open-file-sequencing.rq | file_reference_errors |
| references | unresolved_reference_diagnostics | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | file_reference_errors |
| references | file_references | reqlan rq/extension/language/syntax/features-syntax.rq | file_reference_errors |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…