Printable idea sheet
aliased_from_import_ctrl_click
reqlan rq/extension/language/syntax/features-syntax-highlighting.rq:191
Katz 0.086
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.
- 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
Interactive page: aliased_from_import_ctrl_click