Printable idea sheet
check_unresolved_imports
reqlan rq/core_analysis/check.rq:302
Katz 0.425
check reports an error when an import does not resolve.
A missing import path is an error. A named imported idea that is not in the target file is an error.
Do not report imported idea names when the path is missing.
An existing folder is a valid import path ( import_folder_targets ).
A remote URL is not a missing path.
Import paths with no extension mean `.rq` first ( implicit_file_extension ).
Ignore a site with comment_reference_ignore.
Issue kind is `import`. The `label` is the missing path or the missing idea name.
Forms: import_from, import_namespace, import_qualified.
Editor underline: import_does_not_exist_error.
check_skip_targets matches that label. check_skip_gitignored_targets omits a missing import path that Git ignore rules ignore.
Related: check_unresolved_imports check_order_by_target check_unresolved_imports
- status
- done
- tests
- broken_references.rs:check_reports_missing_import_path, broken_references.rs:check_reports_missing_imported_idea, broken_references.rs:check_accepts_resolved_imports, broken_references.rs:check_skips_import_on_rq_ignore_error, broken_references.rs:check_accepts_folder_and_implicit_extension_imports, broken_references.rs:check_skips_remote_import_urls, broken_references.rs:check_skips_gitignored_import_paths, check.test.ts:reports unresolved imports and exits 1
Interactive page: check_unresolved_imports