From 3c93e82e7f3ab85bd181b36346bb22c532e09d9a Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Mon, 23 Nov 2026 16:02:38 -0300 Subject: help: the language words documented for a user (item 5's sixth group: `Def`, `Refs`, `Hover`, `CodeAction`, `SelectRefs`, `Symbols`, `Diagnostics`, `WsDiagnostics`, `Index`, `Callstack`, `Callers`, `Callees`, `Supertypes`, `Subtypes`, `Rename`, `WsSymbols`, `Lspinfo`, `Lspwhy`), each sentence checked against its run (core/builtins.zig: each is `lspRequest` of a kind; core/Output.zig `traits`: where each kind's answer goes, +Search, +Hover, +Lsp, +Callstack, and which kinds jump on one answer) and the reference's paragraph on the language server's words and the guide's "Call hierarchy": Def and Refs (with a 2-1 chord's selection, at its occurrence nearest the cursor; one answer a jump; `g d`, `g r`), Hover, CodeAction, Symbols, Diagnostics (`] d`, `[ d`, `] D`, `[ D`), WsDiagnostics and WsSymbols (in a +Search; bare asks), Index (what it writes, and that the language words ask the nearest index.scip first), Callstack (the tree, outermost first, its places and signatures, tests last, `↻`, CallstackDepth, `g c`: the Help pane's paragraph "Callstack: static caller chains, with signatures and clickable call sites. Callers / Callees: one direction at a time." deleted in item 3 is said here and in Callers' and Callees' "one level up/down"), Supertypes and Subtypes (one answer a jump), Rename (bare asks; in this file at once, saying how many; across files a +Search of its edits, nothing changed), Lspinfo, Lspwhy; docs/typ/builtins-tui.json regenerated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T --- docs/typ/builtins-tui.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'docs') diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json index 5b6ede24..e46d0e2f 100644 --- a/docs/typ/builtins-tui.json +++ b/docs/typ/builtins-tui.json @@ -5,9 +5,9 @@ {"name": "At", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show this file as it was at a jj revision, read-only, beside its pane.", "text": "Show this file as it was at a jj revision, read-only, beside its pane.\n`At ` (`At main`, `At @-`) opens `path@rev`, as a Look at that name does. In such a pane, `At ` turns it to that revision, the cursor's line kept, and bare `At` opens the file itself. What jj refuses is said in jj's words."}, {"name": "Back", "leader": "SPC j o", "also": ["C-o"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Ctrl-o: one step back into the history.", "text": "Ctrl-o: one step back into the history."}, {"name": "Build", "leader": "SPC h b", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show this build in a +Build: its version, compiler, optimize mode, target and dependencies.", "text": "Show this build in a +Build: its version, compiler, optimize mode, target and dependencies.\nA stamped build's (a release, or the ~/.local install) commit, jj change and build time too, its platform, its grammars, and whether the addons are compiled in."}, - {"name": "Callees", "leader": "SPC l C", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the functions the function under the cursor calls.", "text": "List the functions the function under the cursor calls."}, - {"name": "Callers", "leader": "SPC l c", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the callers of the function under the cursor.", "text": "List the callers of the function under the cursor."}, - {"name": "Callstack", "leader": "SPC l b", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show outermost callers first, with signatures and call sites (gc).", "text": "Show outermost callers first, with signatures and call sites (gc)."}, + {"name": "Callees", "leader": "SPC l C", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the functions the one under the cursor calls, one level down; a single one is a jump.", "text": "List the functions the one under the cursor calls, one level down; a single one is a jump."}, + {"name": "Callers", "leader": "SPC l c", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the functions that call the one under the cursor, one level up; a single one is a jump.", "text": "List the functions that call the one under the cursor, one level up; a single one is a jump."}, + {"name": "Callstack", "leader": "SPC l b", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Show the callers of the function under the cursor as a tree, outermost first, in a +Callstack.", "text": "Show the callers of the function under the cursor as a tree, outermost first, in a +Callstack.\nEach caller with its place to open and its signature, the line of each call under it; callers named for tests after the rest, a recursion marked `↻`. CallstackDepth sets how many levels (8 by default); a deeper tree says where to go on from. `g c` does the same."}, {"name": "CallstackDepth", "leader": null, "also": [], "arg": true, "scope": "root", "setting": true, "choices": null, "doc": "Caller levels collected by Callstack, 1 through 64; default 8.", "text": "Caller levels collected by Callstack, 1 through 64; default 8. Bare, it says the current limit."}, {"name": "Changelog", "leader": "SPC h c", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Show this build's version and what changed to reach it, in a +Changelog.", "text": "Show this build's version and what changed to reach it, in a +Changelog."}, {"name": "Changes", "leader": "SPC t c", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Draw jj's changes to this file on its own pane: a lane each, and what they took away.", "text": "Draw jj's changes to this file on its own pane: a lane each, and what they took away.\n`Changes ` pins the revset's changes that touched the file on its pane, or a revision's (`notes.md@main`), and shows them in this view: `Changes @-::@`, `Changes trunk()..@`. One set a pane: a later Changes or Compare replaces it. Bare: hidden in this view, or shown again; with none pinned yet, `@`.\nEach change gets a lane after the line number. What the file no longer has is drawn where it stood, rows with no number, and after a change's last line its description, `id title author age`, its lane ending in an arrow at it. `] g` and `[ g` step through the changes; B3 on a description's id opens that change's patch at that line (`Diff :`)."}, @@ -17,18 +17,18 @@ {"name": "ClipReplace", "leader": "SPC R", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Replace the selection with the system clipboard.", "text": "Replace the selection with the system clipboard."}, {"name": "ClipYank", "leader": "SPC y", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Copy the selection to the system clipboard.", "text": "Copy the selection to the system clipboard."}, {"name": "ClipYankMain", "leader": "SPC Y", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "helix `Y`: the PRIMARY selection alone, where `SPC y` joins every cursor's.", "text": "helix `Y`: the PRIMARY selection alone, where `SPC y` joins every cursor's. One cursor makes them the same word."}, - {"name": "CodeAction", "leader": "SPC l a", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the language server's code actions for the cursor.", "text": "List the language server's code actions for the cursor."}, + {"name": "CodeAction", "leader": "SPC l a", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the language server's code actions for the cursor, in a +Lsp.", "text": "List the language server's code actions for the cursor, in a +Lsp."}, {"name": "Collapse", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Fold this pane to its tag, or give it its share of the column again.", "text": "Fold this pane to its tag, or give it its share of the column again."}, {"name": "Compare", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Draw the file's difference between each two jj revisions as one change, as Changes draws one.", "text": "Draw the file's difference between each two jj revisions as one change, as Changes draws one.\n`Compare [ ...]`: two points or more in their order, each one revision (a commit or change id, a bookmark, `master@origin`, `@`): `Compare 9ef6312813 ea63317630 master@origin`. A pair is one change however many lie between its points, its row after its last line `from..to N changes dates`. One set a pane: a later Changes or Compare replaces it. Bare: as bare Changes."}, {"name": "Config", "leader": "SPC f c", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Open the startup file, `init` in the configuration directory, in a pane.", "text": "Open the startup file, `init` in the configuration directory, in a pane.\nIts pane when it is open, else the file; not there yet, a pane of that name, which Save makes, its directory too."}, {"name": "Debug", "leader": "SPC t d", "also": ["topbar"], "arg": true, "scope": "root", "setting": true, "choices": "on, off", "doc": "A small box of frame statistics at the top right, on or off.", "text": "A small box of frame statistics at the top right, on or off."}, - {"name": "Def", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Go to the definition of the symbol under the cursor.", "text": "Go to the definition of the symbol under the cursor.\nWith an argument (a 2-1 chord's selection), of that symbol, where it is nearest."}, + {"name": "Def", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Go to the definition of the symbol under the cursor.", "text": "Go to the definition of the symbol under the cursor.\nWith an argument (a 2-1 chord's selection), of that symbol, asked at its occurrence nearest the cursor. One answer is a jump; several open a list, the keyboard on its current row; none says so. `g d` does the same."}, {"name": "Del", "leader": "SPC d", "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane.", "text": "Close the pane.\n`Del k` gives its rows to the pane above it, `Del j` to the one below, each falling back to the other side; bare, from the keyboard between two panes, it asks k or j on the pane's notice band. A docked pane's rows go back to the pane it answers for. Refused once while the pane holds unsaved text (listed in +Unsaved); Del again, nothing edited since, closes it."}, {"name": "DelAbove", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane, giving its rows to the pane above it, as `Del k` does.", "text": "Close the pane, giving its rows to the pane above it, as `Del k` does."}, {"name": "DelBelow", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane, giving its rows to the pane below it, as `Del j` does.", "text": "Close the pane, giving its rows to the pane below it, as `Del j` does."}, {"name": "Delcol", "leader": "SPC c d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close this column and its panes.", "text": "Close this column and its panes.\nThe column is the one whose tag it ran from, else the pane's. Refused once while a pane in it holds unsaved text, the notice saying how many; Delcol again, nothing edited since, closes them."}, {"name": "Detach", "leader": "SPC s D", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Detach this pardes from its terminal or window, leaving the session running.", "text": "Detach this pardes from its terminal or window, leaving the session running.\n`pardes attach` (or `pardes-gui attach`) shows it again, as a client."}, - {"name": "Diagnostics", "leader": "SPC l d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the file's diagnostics from the language server.", "text": "List the file's diagnostics from the language server."}, + {"name": "Diagnostics", "leader": "SPC l d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List this file's diagnostics in a +Search.", "text": "List this file's diagnostics in a +Search.\n`] d` and `[ d` step through them in the text, `] D` and `[ D` to the last and the first."}, {"name": "Diff", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Show a diff's hunks stacked in a +Diff, each under its place, as a diff viewer shows them.", "text": "Show a diff's hunks stacked in a +Diff, each under its place, as a diff viewer shows them.\nBare, on a diff (a .diff, a .patch, a +Pager holding one): its hunks stacked; on a +Diff: the diff itself, as text. `Diff `: that .diff's or .patch's hunks. `Diff ` (7 to 40 hex digits): `git show` of that commit, in its own `+Diff-`. `Diff [path[:line]]` (a jj change id): its patch, its header and whole message on top, the cursor at that place. `Diff .. [path[:line]]`: the difference between two points, the changes between them on top.\nEach hunk stands under its `path:line` and the declarations around it, a + or - before each line, the words a changed line changed tinted. `SPC j n` and `SPC j p` step through the hunks; B3 on a place opens it."}, {"name": "Down", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane below, or off a tag onto the pane under it.", "text": "Move the keyboard to the pane below, or off a tag onto the pane under it."}, {"name": "Dump", "leader": "SPC s d", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Write the session's panes and layout to the state file, for Restore.", "text": "Write the session's panes and layout to the state file, for Restore.\n`Dump export ` writes them to a file of their own instead (`~` the home directory). The workspace tag then holds a `Restore ` word that brings them back."}, @@ -46,10 +46,10 @@ {"name": "Grep", "leader": "SPC f g", "also": ["topbar"], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "List the lines of the files below this pane's directory that hold its argument.", "text": "List the lines of the files below this pane's directory that hold its argument.\nThe text is matched as it is, not as a pattern, in a query pane under this pane, its line 1 `Grep `: with a word, listed, the keyboard left where it was; bare (`SPC f g`), typed into. Past 2000 lines it stops, and More goes on. A script's Grep that finds nothing fails, `not found`."}, {"name": "Help", "leader": "SPC ?", "also": ["topbar"], "arg": true, "scope": "root", "setting": false, "choices": null, "doc": "Show every builtin with its keys and documentation, or one builtin's alone.", "text": "Show every builtin with its keys and documentation, or one builtin's alone.\n`Help `: that builtin alone, its keys spelled out, what it acts on and its line for a shell (`Help Diff`); a setting or an addon's word the same. `Help `: the builtins under SPC and those keys (`Help l`, as `SPC l ?` shows them). Each fills the one +Help: a second Help replaces its text."}, {"name": "History", "leader": "SPC f h", "also": ["topbar"], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "List the state file's dumps, newest first, each with the Restore that brings it back.", "text": "List the state file's dumps, newest first, each with the Restore that brings it back.\nThose Dump made and those every session's end left, in a +History: each a `Restore