Referenced by3
Labels1

Referencing ideas

IdeaStatusTagsSummaryKatz
file_ref_missing_quick_fixdone" Could not resolve file reference " diagnostics offer Quick Fix code actions. A body qualified reference `["path".idea]` whose path does not resolve emits this same diagnostic across the whole reference ( path plus idea ), not an idea-unresolved diagnostic on the idea token. Its quick fix rewrites only the quoted path segment, keeping the `.idea` suffix. The source file itself is not offered as a candidate. Fixes: - Replace the missing path with a relative path to an existing workspace file. - Candidates are ranked by shared trailing characters ( suffix match ) between the missing path and candidate file paths. Tiebreaker is shorter path length. - The top candidate ( when score > 0 ) is marked `isPreferred: true`. - A " Search for file … " command fallback invokes `reqlan.searchReference` to let the user browse the workspace. [code_actions] [quick_fixes]0.036
analysis_barrelThe open-buffer analysis of [language_server_rust] is a barrel module. `crates/reqlan-lsp/src/analysis.rs` declares the feature modules and re-exports their surface. It holds no feature logic. Each language feature is one module under `crates/reqlan-lsp/src/analysis/`: - `model`: the parsed open document, its parse inputs, and its name, reference, and token stores. - `text`: span and text primitives shared by all features. - `refs`: the walk over parsed references. - `tokens`: semantic token collection and encoding. - `paths`: authored path location and neighbor file queries. - `diagnostics`: parse, reference, and import errors. - `links`: document links. - `definition`: go-to-definition targets. - `hover`: hover hits. - `references`: highlights, find-references, and rename edits. - `completion`: attribute key and value completion. - `inlays`: inbound referencer hints. - `selection`: expand selection over the parse tree. - `sites`: file, wildcard, and search site payloads for host commands. The barrel is the only surface: other modules import from `crate::analysis`, not from the feature modules. Feature modules share no state beyond the document model. Each feature module carries `rq:[...]` backlinks to the ideas it implements; the barrel header carries the links for the whole concern. Related: [language_server_rust], ["./open-file-sequencing.rq".open_file_algorithm].0.041
unresolved_reference_diagnosticsin-progressUnresolved idea references must report a linking error diagnostic. A same-file miss and an import-target miss have an error and no document link. A qualified reference may link to its file before the idea line is confirmed. After confirmation, a missing idea has an error and no document link ( ["../support/open-file-sequencing.rq".missing_reference_colour_sequence] ). A false idea link looked like a happy reference while Ctrl + click could not navigate. Missing file references stay on ["./features-syntax.rq".file_references] / ["../support/language-server-errors.rq".file_reference_errors] ( error, no document link ). Related: [reference_rendering], [non_web_reference_navigation].0.101

Reference labels

"../../../../crates/reqlan-lsp/src/analysis/diagnostics.rs"