reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

inline_code

reqlan rq/language/syntax.rq:536

Katz 0.165

Single-backtick spans ( `…` ) are opaque `INLINE_CODE`. They may show example syntax such as a quoted path plus idea.
The grammar does not parse bracket or file references inside the span.
Check and the language server must not report those examples as unresolved file_reference or idea refs.
Related: code_snippets, comment_span_align.

implementation
reqlan.langium, reqlan-embedded-file-references.ts, patch-textmate.mjs, lexer.rs, extract.rs
status
done
tests
references.test.ts:embedded file reference scan ignores inline code examples, * is not a block comment, references.test.ts:embedded file reference scan ignores site showcase interlock inline example, ignore-error.test.ts:does not report file references inside inline code, parsing.test.ts:does not parse a backticked file-only line range as a bracket reference, langium-rust-parse-align.test.ts:inline_code_file_example, langium-rust-parse-align.test.ts:inline_code_file_only_line_range, align.rs:inline_code_file_example_is_not_a_live_ref, align.rs:inline_code_file_only_line_range_is_not_a_live_ref, lexer.rs:backticked_bracketed_file_ref_is_one_inline_code_token, broken_references.rs:check_skips_file_refs_inside_inline_code_and_fences, extract.rs:embedded_scan_skips_backticked_file_ref_with_line_range, extract.rs:extract_skips_backticked_file_only_ref, extract.rs:site_rq_does_not_index_backticked_interlock_path, broken_references.rs:sync_drops_stale_inline_code_file_refs_when_extract_version_changes, golden_corpus.rs:opaque_file_examples_do_not_extract_inline_or_fenced_paths

Interactive page: inline_code