Idea detail
check_unresolved_imports
reqlan rq/core_analysis/check.rq:302
Summary
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
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | broken.rs, check.ts, server.ts, SKILL.md |
| 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 |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | commands | reqlan rq/cli/cli_package.rq | check_unresolved_imports |
| references | check | reqlan rq/core_analysis/check.rq | check_unresolved_imports |
| references | check_skip_gitignored_targets | reqlan rq/core_analysis/check.rq | check_unresolved_imports |
| references | check_qualified_missing_idea | reqlan rq/core_analysis/check.rq | check_unresolved_imports |
| references | mcp_check | reqlan rq/extension/agent/skills-and-mcp.rq | check_unresolved_imports |
| references | import_does_not_exist_error | reqlan rq/extension/language/support/features-imports.rq | check_unresolved_imports |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…