croft-software 0.2.232

VSCode-style TUI written in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
refactor: Groundwork for the refactor program (#2062): each activity-bar icon's pictures are baked from, kept with and chosen through the same icon table, instead of thirty separate fields and ten copies of the same choice. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): the activity bar's icons are described in one table (where each sits, its tooltip name and its glyph), which places, draws and hit-tests them instead of ten copies of the same code. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): a command's group (the terminal's commands, CodeQL's) is declared on its row of the command table instead of read from how its title starts, so renaming a title can no longer change how its keys are routed, and a `keybindings.json` id finds its command in one step instead of a scan of every command. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): the list of every built-in command (titles, shortcut hints, ids and search words) lives in its own file, out of the command palette's drawing code, so the palette, menus and keybindings read it from one place. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): every built-in command is declared once, as one row of a table with its id, title and shortcut hint, instead of in five separate lists that had to be kept in step by hand. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): the activity bar's four count badges (unsaved files, Source Control changes, forwarded ports, failed tests) are one badge type kept with the icon table, refreshed in one place, instead of four copies of the same code. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): what each language server says it can do is read in one function that tests can feed a server's reply to directly, instead of inline where the server starts. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): two new tests pin how a peek-definition reply opens the peek popup and how a resting caret asks the language server for its highlights once, so the coming language-server cleanup cannot change either. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): the details kept with a language-server request still waited on (its id, file, caret spot and edit seq) are named fields in one order, instead of unnamed tuples that two features ordered differently. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): the language-server manager's 31 reply channels are made and held in one place, a pair of bundles named alike, instead of the same list written out five times. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): Go to Declaration, Go to Type Definition, Rename, Format Document and Quick Fix read their language-server replies through one shared rule (keep the last answer to the request still waited on) instead of five copies of the same loop. Nothing changes in use.
refactor: Groundwork for the refactor program (#2062): every menu action now states the shortcut its menu row shows, or why it shows none, so a new menu row cannot ship without that decision. Nothing changes in use.
fix: The status bar's indentation menu shows the shortcuts for Convert Indentation to Spaces and to Tabs (Cmd+Opt+Shift+S / T, Ctrl+Alt+Shift+S / T off macOS), as the Command Palette does.