Skip to content

ochrepad v0.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Oct 16:13
· 24 commits to main since this release
ca84453

Added

  • A terminal. View > Terminal (Ctrl+`) opens a shell in a pane below
    the editors, in the open folder; Ctrl+Shift+` opens another. It is a full
    terminal (colours, full-screen programs such as vim and Claude Code, the
    mouse, scrollback), takes nearly every key while it has the keyboard, and
    Ctrl+click opens links and the files and lines compilers and tracebacks
    name. Terminal tabs come back with the session. The shell, its arguments
    and the scrollback are in Preferences. See docs/terminal.md.

  • Completion. A list of ways to finish the word you are typing opens
    after two characters (or with Ctrl+Space): words and names from your open
    documents and the open folder, the language's keywords, and the
    functions, types and modules the highlighting finds. Typing the first
    letters of a name's parts finds it (gtl for getTextLength). It needs
    nothing installed, stays out of comments and strings, and remembers the
    folder between runs so only changed files are read again. Preferences can
    turn it off or change when it opens. See docs/completion.md.

  • Language servers. With rust-analyzer, pyright, gopls, clangd,
    typescript-language-server or marksman installed (or another server
    added in lsp.json):

    • the server's suggestions lead the completion list, with their
      documentation and the import a name needs;
    • problems are underlined as you type, counted in the status bar and
      listed in View > Problems (Alt+F8 goes to the next one);
    • resting the pointer on a name shows what the server knows about it,
      and typing a call's arguments shows its signature;
    • Ctrl+Alt+T searches the project's symbols, and the Function List
      shows the server's;
    • F12 goes to a name's definition, Shift+F12 lists its uses, Shift+F6
      renames it everywhere, Ctrl+. offers the server's fixes and
      refactorings, and Alt+Shift+F formats the document (also on save, if
      chosen).

    ochrepad asks before a server first runs in a folder, since servers run
    project code. View > Language Servers shows each server's state and log.
    See docs/language-servers.md.

  • A ? menu with About, which shows the version, links to the
    GitHub repository and crates.io, and the license.

Changed

  • A file changed by another program reloads without asking when it has no
    unsaved changes, as Notepad++'s "Update silently" does. Settings >
    Preferences > Files changed elsewhere
    turns this off. Files with unsaved
    changes, and deleted files, still ask.

Verifying a download

SHA256SUMS.txt lists each file's SHA-256 checksum. Each download also
has a signed record that this repository's release workflow built it,
which the GitHub CLI can check:

gh attestation verify <file> --repo xor295/ochrepad