Code reference detail
features.rs
crates/reqlan-lsp/src/session/features.rs
| Idea | Status | Tags | Summary | Katz |
|---|---|---|---|---|
| session_barrel | The language server session of [language_server_rust] is a barrel module. `crates/reqlan-lsp/src/session.rs` declares the session modules and re-exports their surface. It holds no feature logic. Each concern is one module under `crates/reqlan-lsp/src/session/`: - `records`: the `Session` struct and its record types: open buffers, comment documents, neighbor parses, and base indexes. - `state`: construction, settings, workspace and base registration, and document open, change, and close. - `diagnostics`: hot, full, and confirm-pass diagnostics. - `neighbors`: the bounded parse cache of closed `.rq` files and file-declaration queries. - `comments`: comment-reference resolution: links, definitions, and diagnostics for `rq:` comments. - `completion`: attribute, import path, qualified file, and reference completion. - `references`: find references across buffers, comments, and the ideas index. - `rename`: rename across buffers, comments, and index-tracked files. - `actions`: code actions with quick fixes ranked against workspace symbols. - `symbols`: workspace symbol search. - `inbound`: host-pushed inbound references: the file CodeLens and reference inlay hints. - `index`: base ideas-index queries shared by rename, references, completion, and code actions. - `features`: open-buffer feature dispatch: tokens, links, definition, hover, highlights, selection, symbols, folds, and site payloads. - `support`: small helpers shared by the session modules. The barrel is the only surface: other modules import from `crate::session`, not from the session modules. Session record fields and cross-module helpers are `pub(super)`: they stay invisible outside the session module tree. Each session module carries `rq:[...]` backlinks to the ideas it implements; the barrel header carries the links for the whole concern. Related: [language_server_rust], [analysis_barrel], ["./open-file-sequencing.rq".open_file_algorithm], ["./open-file-sequencing.rq".open_file_hot_path]. | 0.036 |
Reference labels
"../../../../crates/reqlan-lsp/src/session/features.rs"