diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-05 11:24:31 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-05 12:02:59 -0300 |
| commit | 60a891ce8127c87b55aed1ff71e435cb7fbd28fc (patch) | |
| tree | a69bdf00d8d5630e40c1f74b14d97d3b59f6d784 /src/CHANGELOG.md | |
| parent | 2143d01eeeadd33c49ceaf22721729a5d03b2810 (diff) | |
| download | pardes-60a891ce8127c87b55aed1ff71e435cb7fbd28fc.tar.gz pardes-60a891ce8127c87b55aed1ff71e435cb7fbd28fc.zip | |
lsp: SCIP first, the server second: the language words ask the nearest index.scip above the file (src/lsp/Scip.zig: a protobuf reader of the fields the words read, each document's occurrences with their ranges, roles and enclosing nodes, the symbols interned, a document's locals its own, with their occurrences listed by symbol, each symbol's information read again when a word wants it; loaded on the first question on the query's worker and again once the file changes, into a fixed region of two indexes, 32 MiB of index and 32 MiB of tables each, eight times rust-analyzer's index of clap_builder 4.6.7, 3.9 MB with 3.1 MB of tables); Def, type definition, Refs, SelectRefs, gi and Subtypes, Supertypes, Symbols, WsSymbols, Hover, Callers, Callees and Callstack answer from it in the server's rows (the Callstack walk takes its hops from the index or the server, each caller the function whose definition holds the call), and the server answers what it lacks (no index, a file, place or symbol it does not hold, a pane's unsaved changes) and Diagnostics, Rename, CodeAction, format, completion and declaration; an index older than its file answers and says so once; Lspinfo starts with the index (path, size, documents, symbols, when, files newer) and its log names scip; Lspwhy narrates the branch taken; the Index word runs the file's indexer (rust-analyzer scip . and the like, PARDES_SCIP_* naming another) at the project's root in a command pane; T1 cases over a hand-made index and rust-analyzer's own (test/scipfixture); the reference, setup, guide, lsp-evaluation.md, the changelog and both builtins lists say so
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/CHANGELOG.md')
| -rw-r--r-- | src/CHANGELOG.md | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index e91bb289..d90143c4 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -124,10 +124,18 @@ Signatures use syntax colors; only calls to the queried function get background emphasis, and tree guides continue through multiline signatures and wrapped rows. Cross-directory call locations use shorter relative paths. -- Lspinfo's `+Lsp` starts with its language servers: the `backend: - lsp-client` line, left from when Zig files had an in-process backend of - their own, is gone. A language word in a file no server speaks for names - the file (`Hover: no language server for notes.txt`). +- The language words ask an `index.scip` first (SCIP, scip-code.org): the + nearest above the file answers Def, Refs, `gi`, Subtypes, Supertypes, + Symbols, WsSymbols, Hover, Callers, Callees and Callstack where it knows + the symbol, at once and with no server; the language server answers + what it does not know, a pane's unsaved changes, and Diagnostics, + Rename, CodeAction, format and completion. `Index` runs the file's + indexer at the project's root (`rust-analyzer scip .` for Rust), and + Lspinfo starts with the index the file would read. +- Lspinfo's `+Lsp` no longer says `backend: lsp-client`, a line left from + when Zig files had an in-process backend of their own. A language word + in a file no server speaks for names the file (`Hover: no language + server for notes.txt`). - A terminal follows the shell at its prompt (the tty's foreground group), not the process pardes started: a shell that re-execs itself under a wrapper (fish's `exec 9ns --mntgen -- fish`) no longer leaves the pane |
