Idea detail
aliased_from_import_ctrl_click
reqlan rq/extension/language/syntax/features-syntax-highlighting.rq:191
Summary
A from-import alias that contains the imported idea name as a suffix or substring
must offer one Ctrl + click destination for the whole written alias.
Example: `from "@/_charter/plant-ontology.rq" import simulation as ontology-simulation`
then `ontology-simulation`.
The document-link underline must cover `ontology-simulation`, not only `simulation`.
Ctrl + click on any character of that alias must open the imported idea in the import-root
target file.
Do not resolve the import path a second time against the current file directory.
Do not offer a second interactive link on the original idea-name suffix.
Related: reference_document_links, reference_underline_syntax_align,
non_web_reference_navigation,
import_from,
configuration_import_root_alias.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | reqlan-local-symbolic-links.ts, reqlan-imports.ts, extract.rs |
| status | done |
| tests | local-symbolic-links.test.ts:aliased from-import whose name contains the imported idea is one link, local_symbolic.rs:analyze_local_symbolic_aliased_from_import_keeps_authored_path_and_written_name |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | reference_underline_syntax_align | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | aliased_from_import_ctrl_click |
| references | import_from | reqlan rq/language/imports.rq | aliased_from_import_ctrl_click |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…